Location class
Locations where the pass is relevant.
- Annotations
-
- @JsonSerializable()
Constructors
Properties
- altitude → double?
-
Optional. Altitude, in meters, of the location.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double
-
Required. Latitude, in degrees, of the location.
final
- longitude → double
-
Required. Longitude, in degrees, of the location.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- relevantText → String?
-
Optional. Text displayed on the lock screen when the pass is currently relevant.
For example, a description of the nearby location such as “Store nearby on 1st and Main.”
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited