NIMLocationAttachment class Null safety
图片消息附件
- Inheritance
-
- Object
- NIMMessageAttachment
- NIMLocationAttachment
- Annotations
Constructors
- NIMLocationAttachment({required double latitude, required double longitude, required String address})
-
NIMLocationAttachment.fromMap(Map<
String, dynamic> map) -
factory
Properties
- address ↔ String
-
地理位置描述
@JsonKey(name: 'title'), read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- latitude ↔ double
-
纬度
@JsonKey(name: 'lat'), read / write
- longitude ↔ double
-
经度
@JsonKey(name: 'lng'), read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited