ChargeFraudDetails.fromJson constructor
ChargeFraudDetails.fromJson(
- Object? json
Implementation
factory ChargeFraudDetails.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ChargeFraudDetails(
stripeReport: map['stripe_report'] == null
? null
: (map['stripe_report'] as String),
userReport:
map['user_report'] == null ? null : (map['user_report'] as String),
);
}