AddressComponent class Null safety

Constructors

AddressComponent({String? longName, String? shortName, List<String>? types})
AddressComponent.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
longName String?
longName is the full text description or name of the address component as returned by the Geocoder.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shortName String?
shortName is an abbreviated textual name for the address component, if available. For example, an address component for the state of Alaska may have a long_name of "Alaska" and a short_name of "AK" using the 2-letter postal abbreviation.
final
types List<String>?
types is an array indicating the type of the address component.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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