VerifyPurchaseProps.fromJson constructor

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

Implementation

factory VerifyPurchaseProps.fromJson(Map<String, dynamic> json) {
  return VerifyPurchaseProps(
    androidOptions: json['androidOptions'] != null ? VerifyPurchaseAndroidOptions.fromJson(json['androidOptions'] as Map<String, dynamic>) : null,
    sku: json['sku'] as String,
  );
}