ChatLocationMessageBody class
~english The location message class. ~end
~chinese 位置消息类。 ~end
- Inheritance
-
- Object
- ChatMessageBody
- ChatLocationMessageBody
Constructors
- ChatLocationMessageBody({required double latitude, required double longitude, String? address, String? buildingName})
- ~english Creates a location message body instance.
- ChatLocationMessageBody.fromJson({required Map map})
Properties
- address → String?
-
~english
The address.
~end
no setter
- buildingName → String?
-
~english
The building name.
~end
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude ↔ double
-
~english
The latitude.
~end
latefinal
- longitude ↔ double
-
~english
The longitude.
~end
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ MessageType
-
~english
Gets the chat message type.
~end
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