LocationChatMessage class

Represents a location shared in a chat message.

Constructors

LocationChatMessage({required double latitude, required double longitude, required String mapLocationUrl, required String messageId})
Constructs an instance of LocationChatMessage.
LocationChatMessage.fromJson(Map<String, dynamic> json)
Creates a LocationChatMessage instance from a JSON map.
factory

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
mapLocationUrl String
The URL of the location on a map.
getter/setter pair
messageId String
The unique identifier of the message.
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
toJson() Map<String, dynamic>
Converts a LocationChatMessage instance to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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