toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'continuationToken': continuationToken,
    'errMsg': errMsg,
    'inAppPurchaseDataList': inAppPurchaseDataList == null
        ? null
        : List<dynamic>.from(
            inAppPurchaseDataList!.map((InAppPurchaseData x) => x),
          ),
    'inAppSignature': inAppSignature == null
        ? null
        : List<dynamic>.from(inAppSignature!.map((String x) => x)),
    'itemList': itemList == null
        ? null
        : List<dynamic>.from(itemList!.map((String x) => x)),
    'returnCode': returnCode,
    'status': status?.toMap(),
    'placedInappPurchaseDataList': placedInappPurchaseDataList == null
        ? null
        : List<String>.from(
            placedInappPurchaseDataList!.map((String x) => x),
          ),
    'placedInappSignatureList': placedInappSignatureList == null
        ? null
        : List<String>.from(placedInappSignatureList!.map((String x) => x)),
    'signatureAlgorithm': signatureAlgorithm,
  };
}