IssuingDisputeDuplicateEvidence.fromJson constructor

IssuingDisputeDuplicateEvidence.fromJson(
  1. Object? json
)

Implementation

factory IssuingDisputeDuplicateEvidence.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingDisputeDuplicateEvidence(
    additionalDocumentation: map['additional_documentation'] == null
        ? null
        : FileOrId.fromJson(map['additional_documentation']),
    cardStatement: map['card_statement'] == null
        ? null
        : FileOrId.fromJson(map['card_statement']),
    cashReceipt: map['cash_receipt'] == null
        ? null
        : FileOrId.fromJson(map['cash_receipt']),
    checkImage: map['check_image'] == null
        ? null
        : FileOrId.fromJson(map['check_image']),
    explanation:
        map['explanation'] == null ? null : (map['explanation'] as String),
    originalTransaction: map['original_transaction'] == null
        ? null
        : (map['original_transaction'] as String),
  );
}