Host class abstract

Host config.

Implementers
Annotations
  • @immutable

Constructors

Host(HostType type, String authority, [bool ssl = true])
Creates host config of corresponding type.
factory

Properties

authority String
Host authority.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ssl bool
Whether host is requires HTTPS connection.
no setterinherited
type HostType
Host type.
no setter

Methods

getUri([String unencodedPath = '', Map<String, dynamic>? queryParameters]) Uri
Returns Uri with current host authority.
inherited
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