Place class

A place such as a country, a city, or a business address.

Rows can be queried with PlaceQuery.

Implemented types
Mixed in types

Constructors

Place({String countryCode, String stateCode, Text cityName, GeoPoint geoPoint, Text input})
factory
Place.build([void updates(PlaceBuilder b)])
factory

Properties

apartmentNumber Text
Apartment number
read-only
cityName Text
City name.
@nullable, read-only
countryCode String
Two-letter country code.
@nullable, read-only
countryName Text
Name of country or country-like place.
@nullable, read-only
geoPoint GeoPoint
Geographic coordinates.
@nullable, read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
input Text
Unspecified input.
@nullable, read-only
isDisputed bool
Whether this is a disputed categorization. [...]
@nullable, read-only
meta Meta
@BuiltValueField(wireName: '@meta'), @nullable, read-only, inherited
postalCode String
Postal code.
@nullable, read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stateCode String
State code.
@nullable, read-only
streetAddress Text
Street address.
@nullable, read-only
subcountryName Text
Name of subcountry or subcountry-like place.
@nullable, read-only
subtitle Text
One-line subtitle.
read-only
title Text
One-line title.
@nullable, read-only
type String
Type of the place.
@nullable, read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rebuild(dynamic updates(PlaceBuilder)) Place
Rebuilds the instance. [...]
inherited
toBuilder() PlaceBuilder
Converts the instance to a builder B. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

serializer Serializer<Place>
read-only