Host class final

Represents an Algolia host.

Constructors

Host({required String url, int? port, String scheme = 'https', CallType? callType})
Constructs a Host instance with the provided parameters.
const
Host.create({required String url, String scheme = 'https', CallType? callType})
factory

Properties

callType CallType?
Whether this host should be used for CallType.read or CallType.write requests.
final
hashCode int
The hash code for this object.
no setteroverride
port int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme String
Host protocol (i.e. http, https)
final
url String
Host url.
final

Methods

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

Operators

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