ChatLocationMessageBody class

The location message class.

Inheritance

Constructors

ChatLocationMessageBody({required double latitude, required double longitude, String? address, String? buildingName})
Creates a location message body instance.
ChatLocationMessageBody.fromJson({required Map map})

Properties

address → String?
The address.
no setter
buildingName → String?
The building name.
no setter
hashCode → int
The hash code for this object.
no setterinherited
latitude ↔ double
The latitude.
latefinal
longitude ↔ double
The longitude.
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ MessageType
Gets the chat message type.
getter/setter pairinherited

Methods

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

Operators

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