updateState method

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

Implementation

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