BaseViewModel class

this is the base viewmodel

Constructors

BaseViewModel()

Properties

controllers List<StreamController>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
This is a dispose method.
executeFuture<T>(Future<T> future, {BroadcastStream<T>? broadcastStream, StreamController<T>? controller}) → void
this method execute future and add result in your controller
executeUseCase<I, O>(UseCase<I, O> useCase, I params, {BroadcastStream<O>? broadcastStream, StreamController<O>? controller}) → void
this method execute future and add result in your controller
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