Handler class

Handler defines a specific action that should be taken

Constructors

Handler({Input<ExecAction>? exec, Input<HTTPGetAction>? httpGet, Input<TCPSocketAction>? tcpSocket})
Creates a new Handler. exec One and only one of the following should be specified. Exec specifies the action to take. httpGet HTTPGet specifies the http request to perform. tcpSocket TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
const
Handler.fromMap(Map<String, dynamic> map)
factory

Properties

exec → Input<ExecAction>?
One and only one of the following should be specified. Exec specifies the action to take.
final
hashCode → int
The hash code for this object.
no setterinherited
httpGet → Input<HTTPGetAction>?
HTTPGet specifies the http request to perform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tcpSocket → Input<TCPSocketAction>?
TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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