updateState method

  1. @override
Future<void> updateState(
  1. T? newState
)
override

Implementation

@override
Future<void> updateState(T? newState) async {
  await _cacheApi.setValue(stateKey, newState);
  return await super.updateState(newState);
}