toMap method
Implementation
Map<String, dynamic> toMap() => {
"paymentToken": paymentToken == null ? null : paymentToken,
"clientID": clientId == null ? null : clientId,
"locale": locale == null ? null : locale,
"payment": paymentRequest == null ? null : paymentRequest?.toMap(),
};