Actor class abstract
Actor is an abstract superclass, where all their subclasses will be executed separately in each instance. Actor is used to ensure sharing Data between multiples Isolates. All subclasses of Actor will be accessible in each server Instance.
Properties
Methods
-
dispose(
) → FutureOr< void> -
dispose will be used to free all Objects and resources used by
Agent
-
execute(
String action, {Map< String, dynamic> data = const {}}) → FutureOr<void> - execute will be used to execute some operations in Agent instance.
-
get(
String action, {Map< String, dynamic> data = const {}}) → FutureOr - get will be used to get Data from Agent depending from Action.
-
getData(
) → Map< String, dynamic> -
getInstance(
String action, {Map< String, dynamic> data = const {}}) → Actor? -
getInstance will be used to have directly access to
Agent
instances Objects. it should just used to get method but not to execute. -
getName(
) → String -
initState(
) → FutureOr< void> - initState will be called to initialized Data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited