AargulAppState class

Inheritance

Constructors

AargulAppState([Database? db])

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

dispatcher(String key, dynamic value, {String? scope}) → void
emit a new event
inherited
emit(String key, dynamic value, {String? scope}) → void
emit a new event - alias of dispatcher
inherited
get<K, V>(K key, {V? defaultValue, String? scope}) Future<V?>
has<T>(String key, {String? scope}) Future<bool>
hasState(String key) bool
inherited
initAction() FutureOr<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifier<T extends ValueNotifier>(String key) → T
inherited
notifierOrNull<T extends ValueNotifier>(String key) → T?
inherited
on<T>(String key, void handler(T? value), {String? scope}) StreamSubscription<T?>
inherited
once<T>(String key, void handler(T? value), {String? scope}) → void
inherited
receiver<T>(String key, {T? initalValue, String? scope}) Stream<T?>
Listen events, but can receive null
inherited
receiverNotNull<T>(String key, T initalValue, {String? scope}) Stream<T>
Listen events
inherited
registerNotifier(String key, {StreamController? controler, String? scope, bool override = false}) → void
Declare a new a stream events
inherited
remove<K>(K key, {String? scope}) Future<K?>
removeState(String key) → dynamic
inherited
set<K, V>(K key, V value, {String? scope, bool? merge}) Future<V>
state<T extends ValueNotifier>(String key, [dynamic value]) → T
inherited
stateOrNull<T extends ValueNotifier>(String key, [dynamic value]) → T?
inherited
store<K, V>({String? scope, Filter? filter}) Stream<RecordSnapshot<K, V>?>
stream<K, V>(K key, {String? scope}) Stream<RecordSnapshot<K, V>?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic
inherited
operator []=(String key, dynamic controler) → void
inherited