ChatLocationMessageBody class

位置消息类。

Inheritance

Constructors

ChatLocationMessageBody({required double latitude, required double longitude, String? address, String? buildingName})
创建一个位置消息体实例。
ChatLocationMessageBody.fromJson({required Map map})

Properties

address → String?
地址。
no setter
buildingName → String?
建筑物名称。
no setter
hashCode → int
The hash code for this object.
no setterinherited
latitude ↔ double
纬度。
latefinal
longitude ↔ double
经度。
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ MessageType
获取消息类型。
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