CheckPaymentDetailsDto.fromJson constructor
CheckPaymentDetailsDto.fromJson(- Map<String, dynamic> json
)
Implementation
factory CheckPaymentDetailsDto.fromJson(Map<String, dynamic> json) {
return CheckPaymentDetailsDto(
drawee: json["drawee"] as String?,
payee: json["payee"] as String?,
dateOfIssue: json["dateOfIssue"] == null
? null
: DateTime.parse(json["dateOfIssue"] as String),
drawer: json["drawer"] as String?,
sortCode: json["sortCode"] as String?,
accountNumber: json["accountNumber"] as String?,
type: decodePaymentType(PaymentTypeEnumMap, json["type"] as String),
);
}