EventTruck class
Constructors
- EventTruck({bool sync = false})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamController → StreamController
-
no setter
Methods
-
add(
dynamic object) → void -
close(
) → void -
get<
T> () → Stream< T> -
listen<
T> (void onData(T object)) → StreamSubscription< T> -
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
Static Properties
-
managedSubscriptions
↔ Map<
String, StreamSubscription> ? -
getter/setter pair
Static Methods
-
dispose(
) → void -
fire(
dynamic object) → void -
on<
T> (void onData(T object)) → StreamSubscription< T> -
onWithKey<
T> ({String? key, required void onData(T object)}) → StreamSubscription< T> -
remove(
{StreamSubscription< bool> ? subscription, String? managedKey}) → void