AccountVerification.fromJson constructor

AccountVerification.fromJson(
  1. Object? json
)

Implementation

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