CountrySpecVerificationFields.fromJson constructor

CountrySpecVerificationFields.fromJson(
  1. Object? json
)

Implementation

factory CountrySpecVerificationFields.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CountrySpecVerificationFields(
    company: CountrySpecVerificationFieldDetails.fromJson(map['company']),
    individual:
        CountrySpecVerificationFieldDetails.fromJson(map['individual']),
  );
}