getSpecificJson method
Method to be implemented by subclasses for payment-method-specific data.
Each payment method subclass must implement this method to provide additional JSON fields specific to that payment type.
Returns
A JSON map with payment-method-specific data.
Implementation
@override
Map<String, dynamic> getSpecificJson() {
return {
'mobile_money': {'provider': provider.name, 'phone_number': phoneNumber},
};
}