RequestVerifyPurchaseWithIapkitProps.fromJson constructor

RequestVerifyPurchaseWithIapkitProps.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RequestVerifyPurchaseWithIapkitProps.fromJson(Map<String, dynamic> json) {
  return RequestVerifyPurchaseWithIapkitProps(
    amazon: json['amazon'] != null ? RequestVerifyPurchaseWithIapkitAmazonProps.fromJson(json['amazon'] as Map<String, dynamic>) : null,
    apiKey: json['apiKey'] as String?,
    apple: json['apple'] != null ? RequestVerifyPurchaseWithIapkitAppleProps.fromJson(json['apple'] as Map<String, dynamic>) : null,
    baseUrl: json['baseUrl'] as String?,
    google: json['google'] != null ? RequestVerifyPurchaseWithIapkitGoogleProps.fromJson(json['google'] as Map<String, dynamic>) : null,
  );
}