TCPSocketAction class

TCPSocketAction describes an action based on opening a socket.

Constructors

TCPSocketAction({String? host, required IntOrString port})
Default constructor.
const
TCPSocketAction.fromJson(Map<String, dynamic> json)
Creates a TCPSocketAction from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
host String?
Optional: Host name to connect to, defaults to the pod IP.
final
port IntOrString
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
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, Object>
Converts a TCPSocketAction instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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