Repository class abstract
Repository is a class for making it easier to create new repositories
following the good practices of BLoC pattern. This class exposes
initialize
and dispose
methods.
Constructors
- Repository.new()
-
Repository is a class for making it easier to create new repositories
following the good practices of BLoC pattern. This class exposes
initialize
anddispose
methods.
Properties
- disposed ↔ bool
-
Whether
dispose
is called or notgetter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- initialized ↔ bool
-
Whether
initialize
is called or notgetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> - Called to dispose the repository and free up the resources
-
initialize(
) → Future< void> - Called to initialize the repository
-
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