GeoContent class final
A location (geo:).
- Inheritance
-
- Object
- BarcodeContent
- GeoContent
Constructors
- GeoContent({required double latitude, required double longitude, double? altitude, String? query})
-
Creates geo content.
const
Properties
- altitude → double?
-
Altitude in metres, if given.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- latitude → double
-
Latitude in degrees.
final
- longitude → double
-
Longitude in degrees.
final
- query → String?
-
Search query (
?q=), if given.final - 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
-
toPayload(
) → String -
geo:latitude,longitude[,altitude][?q=query](RFC 5870).override -
toString(
) → String -
A string representation of this object.
override
-
validate(
) → List< ContentIssue> -
The problems that keep toPayload from building this value, such as
an empty network name or a latitude out of range. Empty when the value
can be built. For forms: show each ContentIssue.message next to its
ContentIssue.field.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override