LocationMessageParams class

Represents the parameters for a location message.

This class holds the latitude and longitude values for a location. It is designed to encapsulate the geographical coordinates required to send or manipulate location messages within the application.

Available extensions

Constructors

LocationMessageParams({required double latitude, required double longitude})
Initializes a new instance of the LocationMessageParams class.

Properties

hashCode int
The hash code for this object.
no setterinherited
latitude double
The latitude of the location.
getter/setter pair
longitude double
The longitude of the location.
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
toMap() Map<String, dynamic>

Available on LocationMessageParams, provided by the ExtractLocationMessageParams extension

Converts a LocationMessageParams object into a map.
toString() String
A string representation of this object.
inherited

Operators

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