toJson method

String toJson()

Returns a resposne when you attach a payment intent.

Implementation

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