AddressComponent class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

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

Properties

hashCode int
The hash code for this object.
no setteroverride
longName String
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.
no setterinherited
shortName String
An abbreviated textual name for the address component, if available.
final
types List<String>
An array indicating the type of the address component. See the list of supported types.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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