GeoInfo constructor

GeoInfo({
  1. String? continent,
  2. String? country,
  3. String? region,
  4. String? city,
})

Implementation

factory GeoInfo({
  $core.String? continent,
  $core.String? country,
  $core.String? region,
  $core.String? city,
}) {
  final $result = create();
  if (continent != null) {
    $result.continent = continent;
  }
  if (country != null) {
    $result.country = country;
  }
  if (region != null) {
    $result.region = region;
  }
  if (city != null) {
    $result.city = city;
  }
  return $result;
}