static Stream<Device> get onScanning { return _scanningEventChannel .receiveBroadcastStream() .map((e) => Device.fromJson(jsonDecode(e))); }