EndPoint class

A class representing an EventStoreDB host

Constructors

EndPoint(String address, int port)
Constructs a EndPoint instance
const
EndPoint.from(String path)
Construct an EndPoint from given path
factory

Properties

address String
EventStoreDB host address
final
hashCode int
The hash code for this object.
no setteroverride
port int
EventStoreDB host port
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toUri([bool useTls = true]) Uri
Get this EndPoint as a Uri

Operators

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

Static Properties

anyIPv4 EndPoint
An EndPoint representing InternetAddress.anyIPv4
final
anyIPv6 EndPoint
An EndPoint representing InternetAddress.anyIPv6
final
loopbackIPv4 EndPoint
An EndPoint representing InternetAddress.loopbackIPv4
final
loopbackIPv6 EndPoint
An EndPoint representing InternetAddress.loopbackIPv6
final