toJson method

String toJson()

Not identical with PaymayaAmount.

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

Implementation

String toJson() => json.encode(toMap());