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.
execOne and only one of the following should be specified. Exec specifies the action to take.httpGetHTTPGet specifies the http request to perform.tcpSocketTCPSocket specifies an action involving a TCP port. TCP hooks not yet supportedconst -
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