toJson method

String toJson()

Response from payment intent attach

Implementation

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