NIMLocationAttachment class Null safety
Image message attachment
- Inheritance
-
- Object
- NIMMessageAttachment
- NIMLocationAttachment
- Annotations
-
- @JsonSerializable()
Constructors
- NIMLocationAttachment({required double latitude, required double longitude, required String address})
-
NIMLocationAttachment.fromMap(Map<
String, dynamic> map) -
factory
Properties
- address ↔ String
-
Location description of a location
@JsonKey(name: 'title'), read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- latitude ↔ double
-
Latitude of a location
@JsonKey(name: 'lat'), read / write
- longitude ↔ double
-
Longitude of a location
@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