Annotation class
Represents annotation information for a navigation instruction
Constructors
- Annotation({bool? empty, int? importance, String? message})
- Creates a new Annotation instance
-
Annotation.fromJson(Map<
String, dynamic> json) - Creates an Annotation object from JSON data
Properties
- empty ↔ bool?
-
Whether the annotation is empty
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- importance ↔ int?
-
Importance level of the annotation
getter/setter pair
- message ↔ String?
-
Message content of the annotation
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this Annotation object to a JSON object
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited