RequestVerifyPurchaseWithIapkitProps.fromJson constructor

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

Implementation

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