paymentToJson function

String paymentToJson(
  1. Payment data
)

Implementation

String paymentToJson(Payment data) => json.encode(data.toJson());