toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "paymentToken": paymentToken == null ? null : paymentToken,
      "cardTokens": cardTokens == null ? null : List<dynamic>.from(cardTokens!.map((x) => x.toMap())),
      "responseCode": responseCode == null ? null : responseCode,
      "responseDescription": responseDescription == null ? null : responseDescription,
    };