IssuingDisputeServiceNotAsDescribedEvidence.fromJson constructor
IssuingDisputeServiceNotAsDescribedEvidence.fromJson(
- Object? json
Implementation
factory IssuingDisputeServiceNotAsDescribedEvidence.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingDisputeServiceNotAsDescribedEvidence(
additionalDocumentation: map['additional_documentation'] == null
? null
: FileOrId.fromJson(map['additional_documentation']),
canceledAt: map['canceled_at'] == null
? null
: DateTime.fromMillisecondsSinceEpoch(
(map['canceled_at'] as int).toInt()),
cancellationReason: map['cancellation_reason'] == null
? null
: (map['cancellation_reason'] as String),
explanation:
map['explanation'] == null ? null : (map['explanation'] as String),
receivedAt: map['received_at'] == null
? null
: DateTime.fromMillisecondsSinceEpoch(
(map['received_at'] as int).toInt()),
);
}