UrlEndpoint class Null safety Replication

An endpoint representing a server-based database at the given url.

The Url's scheme must be ws or wss, it must of course have a valid hostname, and its path must be the name of the database on that server. The port can be omitted; it defaults to 80 for ws and 443 for wss. For example: wss://example.org/dbname

Inheritance

Constructors

UrlEndpoint(Uri url)
Creates an endpoint representing a server-based database at the given url.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url Uri
The url of the database to replicate with.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited