LocationChatMessage class

Represents a location chat message.

Constructors

LocationChatMessage({required double latitude, required double longitude, required String mapLocationUrl, required String messageId})
Constructs a LocationChatMessage instance.
LocationChatMessage.fromJson(Map<String, dynamic> json)
Converts a JSON object into a LocationChatMessage instance.
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.
getter/setter pair
messageId String
The ID 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 into a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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