PrefsDeleteEvent class
Delete a value from SharedPreferences.
Returns void on completion.
- Inheritance
-
- Object
- ResultEvent<
void> - StorageResultEvent<
void> - PrefsDeleteEvent
Constructors
-
PrefsDeleteEvent({required String key, String? requestId, Set<
String> ? groupsToRebuild})
Properties
-
groupsToRebuild
↔ Set<
String> ? -
The set of widget rebuild groups this event should trigger.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleted → bool
-
Whether this event's result has been completed.
no setterinherited
- key → String
-
final
- requestId → String
-
Correlation id for logs / debugging / operation tracing.
finalinherited
-
result
→ Future<
void> -
The future that completes when the use case finishes.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
Called when the event is disposed.
inherited
-
fail(
Object error, [StackTrace? stackTrace]) → void -
Complete the result with an error.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
succeed(
void value) → void -
Complete the result successfully with
value.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited