CountrySpecVerificationFieldDetails.fromJson constructor

CountrySpecVerificationFieldDetails.fromJson(
  1. Object? json
)

Implementation

factory CountrySpecVerificationFieldDetails.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CountrySpecVerificationFieldDetails(
    additional: (map['additional'] as List<Object?>)
        .map((el) => (el as String))
        .toList(),
    minimum: (map['minimum'] as List<Object?>)
        .map((el) => (el as String))
        .toList(),
  );
}