Country constructor

Country({
  1. CountryCode? code,
  2. String? name,
})

Implementation

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