updateState method

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

Implementation

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