DiscoveryInformation class

Used by clients to determine the homeserver, identity server, and other optional components they should be interacting with.

Annotations
  • @_NameSource('spec')

Constructors

DiscoveryInformation({required HomeserverInformation mHomeserver, IdentityServerInformation? mIdentityServer, Map<String, Map<String, Object?>> additionalProperties = const {}})
DiscoveryInformation.fromJson(Map<String, Object?> json)

Properties

additionalProperties Map<String, Map<String, Object?>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mHomeserver HomeserverInformation
Used by clients to discover homeserver information.
getter/setter pair
mIdentityServer IdentityServerInformation?
Used by clients to discover identity server information.
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.
inherited