SinglePaymentAmount.fromJson constructor
SinglePaymentAmount.fromJson(
- String source
Not identical with PaymayaAmount.
This was intended for SinglePayment method which uses the value as String instead of num Converts String to SinglePaymentAmount
Implementation
factory SinglePaymentAmount.fromJson(String source) =>
SinglePaymentAmount.fromMap(json.decode(source));