MiniProgramMapDestination class

A known shop/destination, never an arbitrary URL, package, or Intent.

Constructors

MiniProgramMapDestination({required num latitude, required num longitude, required String name, String address = '', MiniProgramMapCoordinateSystem coordinateSystem = MiniProgramMapCoordinateSystem.wgs84})
MiniProgramMapDestination.fromJson(Map<String, dynamic> json)
factory

Properties

address → String
final
coordinateSystem → MiniProgramMapCoordinateSystem
final
hashCode → int
The hash code for this object.
no setterinherited
latitude → double
final
longitude → double
final
name → String
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

validateCoordinate(Object? value, {required bool latitude}) → double
validateText(Object? value, {bool address = false}) → String