DisputeOther.fromJson constructor
DisputeOther.fromJson(
- Object? json
Implementation
factory DisputeOther.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return DisputeOther(
additionalDocumentation: map['additional_documentation'] == null
? null
: (map['additional_documentation'] as String),
explanation:
map['explanation'] == null ? null : (map['explanation'] as String),
productDescription: map['product_description'] == null
? null
: (map['product_description'] as String),
productType: map['product_type'] == null
? null
: DisputeProductType.fromJson(map['product_type']),
);
}