reset method
Implementation
Future<void> reset() async {
await _operation?.cancel();
state = state.copyWith(
data: _initial,
updatedAt: DateTime.now(),
loading: false,
);
_box.delete(key);
}
Future<void> reset() async {
await _operation?.cancel();
state = state.copyWith(
data: _initial,
updatedAt: DateTime.now(),
loading: false,
);
_box.delete(key);
}