AccountIndividualVerification.fromJson constructor

AccountIndividualVerification.fromJson(
  1. Object? json
)

Implementation

factory AccountIndividualVerification.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AccountIndividualVerification(
    additionalDocument: map['additional_document'] == null
        ? null
        : AccountDocument.fromJson(map['additional_document']),
    document: map['document'] == null
        ? null
        : AccountDocument.fromJson(map['document']),
  );
}