Beacon makeBeaconCacheable(Beacon beacon) { final cache = <int, Future<BeaconState>>{}; return _CacheableBeacon(beacon, cache); }