IssuingDisputeOtherEvidence.fromJson constructor

IssuingDisputeOtherEvidence.fromJson(
  1. Object? json
)

Implementation

factory IssuingDisputeOtherEvidence.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingDisputeOtherEvidence(
    additionalDocumentation: map['additional_documentation'] == null
        ? null
        : FileOrId.fromJson(map['additional_documentation']),
    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
        : IssuingDisputeCanceledEvidenceProductType.fromJson(
            map['product_type']),
  );
}