Location class

Annotations
  • @_NameSource('spec')

Constructors

Location({required String alias, required Map<String, Object?> fields, required String protocol})
Location.fromJson(Map<String, Object?> json)

Properties

alias String
An alias for a matrix room.
getter/setter pair
fields Map<String, Object?>
Information used to identify this third-party location.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
protocol String
The protocol ID that the third-party location is a part of.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override