IDKitGShared class
- Annotations
Constructors
-
factory
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
-
add<
T extends Object> (T value, {String? mark}) → void - Send shared listening data.
-
convertListen<
T extends Object> ({String? mark, bool broadcast = false, bool sync = false}) → void - Convert an object that has no listeners to a listener object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read<
T extends Object> ({String? mark, bool disposable = false}) → T? - Get global shared object.
-
register<
T extends Object> (T? instance, {String? mark}) → void - Register shared objects.
-
registerListen<
T extends Object> ({String? mark, bool broadcast = false, bool sync = false}) → void - Register a global shared listener object.
-
toString(
) → String -
A string representation of this object.
inherited
-
unRegister<
T extends Object> ({String? mark}) → void - Unregister the specified global shared object.
-
unRegisterAll(
{bool listen = false}) → void - Unregister all global shared objects.
-
unRegisterListen<
T extends Object> ({String? mark}) → void - Remove the specified listener object.
-
update<
T extends Object> (T? update(T? value), {String? mark}) → void - Updates the specified global shared object.
-
watch<
T extends Object> ({String? mark}) → Stream< T> ? - Subscribing to a shared listener data object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited