Location constructor

Location({
  1. String? country,
  2. String? countryCode,
  3. String? city,
})

Implementation

factory Location({
  $core.String? country,
  $core.String? countryCode,
  $core.String? city,
}) {
  final _result = create();
  if (country != null) {
    _result.country = country;
  }
  if (countryCode != null) {
    _result.countryCode = countryCode;
  }
  if (city != null) {
    _result.city = city;
  }
  return _result;
}