EMLocationMessageBody class

位置消息类。

Inheritance

Constructors

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

Properties

address String?
地址。
read-only
buildingName String?
建筑物名称。
read-only
hashCode int
The hash code for this object.
read-onlyinherited
latitude double
纬度。
latefinal
longitude double
经度。
latefinal
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type MessageType
获取消息类型。
read / writeinherited

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