AppOwnershipVerificationResult.fromJson constructor

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

Implementation

factory AppOwnershipVerificationResult.fromJson(Map<String, dynamic> json) {
  return AppOwnershipVerificationResult(
    appTransactionIOS: json['appTransactionIOS'] != null ? AppTransaction.fromJson(json['appTransactionIOS'] as Map<String, dynamic>) : null,
    integrityTokenAndroid: json['integrityTokenAndroid'] as String?,
    reason: json['reason'] != null ? AppOwnershipVerificationReason.fromJson(json['reason'] as String) : null,
    signedAppTransactionIOS: json['signedAppTransactionIOS'] as String?,
    status: AppOwnershipStatus.fromJson(json['status'] as String),
    storeId: json['storeId'] as String,
  );
}