PaymayaSinglePayment.fromJson constructor

PaymayaSinglePayment.fromJson(
  1. String source
)

Not identical with PaymayaAmount.

This was intended for SinglePayment method which uses the value as String instead of num

Implementation

factory PaymayaSinglePayment.fromJson(String source) =>
    PaymayaSinglePayment.fromMap(json.decode(source));