ServerAddressByClientCIDR class

ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.

Constructors

ServerAddressByClientCIDR({required String clientCIDR, required String serverAddress})
Default constructor.
const
ServerAddressByClientCIDR.fromJson(Map<String, dynamic> json)
Creates a ServerAddressByClientCIDR from JSON data.
factory

Properties

clientCIDR String
The CIDR with which clients can match their IP to figure out the server address that they should use.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverAddress String
Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a ServerAddressByClientCIDR instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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