FundsVerificationExtraData.fromJson constructor

FundsVerificationExtraData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FundsVerificationExtraData.fromJson(Map<String, dynamic> json) {
  return FundsVerificationExtraData(
    difficultToRead: json['difficult_to_read'],
    entireDocumentNotInFrame: json['entire_document_not_in_frame'],
    documentType: json['document_type'],
    fundsAmount: json['funds_amount'],
    currencyCode: json['currency_code'],
    accountName: json['account_name'],
    accountNumber: json['account_number'],
    dateOfStatement: json['date_of_statement'] != null
        ? DateTime.parse(json['date_of_statement'])
        : null,
  );
}