Skip to content

Commit

Permalink
Fixing uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGHSeg committed Aug 13, 2024
1 parent 088d760 commit b4ff427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/lib/state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ abstract class PersistedState<T> implements AsyncStateNotifier<T> {
}
});
_store.ready.then<void>((_) async {
var rawV;
var rawV = null;
try {
rawV = await _store.getPersisted(_key);
} on FormatException catch (e) {
Expand Down

0 comments on commit b4ff427

Please sign in to comment.