StoredFilesRepository class
Constructors
Properties
- arg ↔ String?
-
The argument that was passed to this family.
latefinalinherited
-
future
→ Future<
StoredFilesRepositoryState> -
Obtains a Future that resolves with the first state value that is not
AsyncLoading
.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- ownerPath ↔ String?
-
getter/setter pair
-
ref
→ AsyncNotifierProviderRef<
StoredFilesRepositoryState> -
The
Ref
from the provider associated with thisAsyncNotifier
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
↔ AsyncValue<
StoredFilesRepositoryState> -
The value currently exposed by this
AsyncNotifier
.getter/setter pairinherited
Methods
-
build(
String? arg) → FutureOr< StoredFilesRepositoryState> - Build (Init)
-
loadMore(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reload(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
update(
FutureOr< StoredFilesRepositoryState> cb(StoredFilesRepositoryState), {FutureOr<StoredFilesRepositoryState> onError(Object err, StackTrace stackTrace)?}) → Future<StoredFilesRepositoryState> -
A function to update state from its previous value, while
abstracting loading/error cases for state.
inherited
-
updateShouldNotify(
AsyncValue< StoredFilesRepositoryState> previous, AsyncValue<StoredFilesRepositoryState> next) → bool -
A method invoked when the state exposed by this
AsyncNotifier
changes.inherited -
uploadFile(
{String? ownerPath, required Uint8List fileData, required String fileExtension, Map< String, StoredFileSubscriber> ? stateSubscribers}) → Future<void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
provider
↔ AsyncNotifierProviderFamily<
StoredFilesRepository, StoredFilesRepositoryState, String?> -
getter/setter pair