LocalHomeserverParser class
Provides homeservers based on the provided countryCode
Always returns only a single Homeserver or an empty list.
- Inheritance
-
- Object
- HomeserverListProvider
- LocalHomeserverParser
Constructors
- LocalHomeserverParser(String? countryCode)
-
const
Properties
- countryCode → String?
-
the country code the find the Homeserver for
final
- errorReportUrl → Uri
-
an Uri to report errors to
no setteroverride
- externalUri → Uri?
-
the location to find the list standalone
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetchHomeservers(
) → List< Homeserver> -
lists all homeversers of this provider
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited