GeoCodedIdentity class

The base class for all geography data types addressable by the longitude and latitude system

Inheritance
Annotations
  • @immutable

Constructors

GeoCodedIdentity({String? iso2, String? iso3, int? id})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id int?
The unique identifier for this data, like 1
final
iso2 String?
The two-digit ISO code for this country, like AF for Afghanistan
final
iso3 String?
The three-digit ISO code for this country, like AFG for Afghanistan
final
isValid bool
Indicates if this instance is considered valid, having one or more attributes defined
no setter
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setter

Methods

isMatch(Country country) bool
Determines if the specified country matches this instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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