SocketAddress class
[#next-free-field: 7]
Constructors
- SocketAddress({String? address, bool? ipv4Compat, String? namedPort, int? portValue, String? protocol, String? resolverName})
- SocketAddress.fromJson(Map json_)
Properties
- address ↔ String?
-
The address for this socket.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ipv4Compat ↔ bool?
-
When binding to an IPv6 address above, this enables
IPv4 compatibility
_.getter/setter pair - namedPort ↔ String?
-
This is only valid if :ref:
resolver_name
is specified below and the named resolver is capable of named port resolution.getter/setter pair - portValue ↔ int?
-
getter/setter pair
- protocol ↔ String?
-
Possible string values are:
getter/setter pair
- resolverName ↔ String?
-
The name of the custom resolver.
getter/setter pair
- 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