Server class abstract

The object defining a server. Each Account is defined in a given Server object.

See Account.server.

Constructors

Server({required String baseUrl})
Default constructor for Server.
factory
Server.fromJson(Map<String, dynamic> json)
Alternate constructor that creates an Server from a json.
factory

Properties

baseUrl String
The base URL for the server. This is the base URL for the HTTP endpoints the SDK must interact with when dealing with the Accounts associated with this server.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() String
A string representation of this object.
inherited

Operators

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