GeoCoordinates class

Annotations
  • @freezed

Constructors

GeoCoordinates({required String type, required List<double> coordinates})
const
factory
GeoCoordinates.fromJson(Map<String, Object?> json)
factory

Properties

coordinates List<double>
A pair of decimal values representing the precise location of the user (latitude, longitude). This value be null unless the user explicitly shared their precise location.
no setterinherited
copyWith → $GeoCoordinatesCopyWith<GeoCoordinates>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Describes the type of coordinate. The only value supported at present is Point.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited