fetchState method

  1. @override
Future<double?> fetchState()
override

Implementation

@override
Future<double?> fetchState() async {
  return await _cacheApi.getDouble(stateKey);
}