CountryCode constructor

CountryCode({
  1. CountryCodeType? countryCodeType,
  2. String? name,
})

Implementation

factory CountryCode({
  CountryCodeType? countryCodeType,
  $core.String? name,
}) {
  final _result = create();
  if (countryCodeType != null) {
    _result.countryCodeType = countryCodeType;
  }
  if (name != null) {
    _result.name = name;
  }
  return _result;
}