KatahoCode class
A plus code translated into its human-readable Kataho form.
The 11 significant characters of a plus code split into three segments, each of which maps to one of the geocode datasets:
7MV7 P8CF J68
└ number └ word └ suffix
"09" लक्ष निवास "१८३८"
-> "०१ अखण्ड ००००"
Constructors
- KatahoCode({required GeocodeNumber number, required GeocodeWord word, required GeocodeNumberSuffix suffix, required String plusCode, double? latitude, double? longitude, String? kid})
-
Creates a translated Kataho code from its component mappings.
const
Properties
- display → String
-
Devanagari form shown on the plate, e.g.
"०१ अखण्ड ००००".no setter - displayLatin → String
-
Western-digit form, e.g.
"01 अखण्ड 0000". The word has no Western equivalent, so it stays in Devanagari.no setter - formattedPlusCode → String
-
The plus code in its canonical separated form, e.g.
"7MV7P8CF+J68".no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- kid → String?
-
The 12-digit KID, e.g.
"192451960075".final - latitude → double?
-
Latitude of the centre of the area plusCode names, in decimal degrees.
final
- longitude → double?
-
Longitude of the centre of the area plusCode names, in decimal degrees.
final
- number → GeocodeNumber
-
Leading region segment, e.g.
01.final - plusCode → String
-
The normalised 11-character plus code this was derived from,
without separators, e.g.
"7MV7P8CFJ68".final -
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
- segmentedPlusCode → String
-
The plus code re-joined with its segment boundaries visible,
e.g.
"7MRC-2X-X2R". Useful for debugging a bad lookup.no setter - stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - suffix → GeocodeNumberSuffix
-
Trailing house-number segment, e.g.
००००.final - word → GeocodeWord
-
Middle word segment, e.g.
अखण्ड.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited