TargetAddress class

In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.

Constructors

TargetAddress({required String ip, int? port})
TargetAddress.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ip String
One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
final
port int?
The port at Ip that you want to forward DNS queries to.
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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