Namedetails class
Represents detailed names for a location, including alternate and regional names.
This class contains various names associated with a location, such as the primary name, alternate names, regional names, and official names.
Constructors
- Namedetails({String? ref, String? name, String? nameEs, String? altName, String? regName, String? shortName, String? officialName})
- Constructs a Namedetails instance.
-
Namedetails.fromJson(Map<
String, dynamic> json) - Constructs a Namedetails instance from a JSON object.
Properties
- altName ↔ String?
-
An alternate name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The primary name.
getter/setter pair
- nameEs ↔ String?
-
The name in Spanish language.
getter/setter pair
- officialName ↔ String?
-
The official name.
getter/setter pair
- ref ↔ String?
-
A reference associated with the named details.
getter/setter pair
- regName ↔ String?
-
A regional name.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortName ↔ String?
-
A short name.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited