Conversator class
To create a new conversator class for youself, you can use Conversator.
If you need only one conversator, you can always use conversator alone.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
listen<
T> (String event, voidCallback< T> callback) → void - listen function, as its name refers, listens for all the speakers' events.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
speak<
T> (String event, T message) → void - To speak to all the listeners who are listening the same event, you can use speak function.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited