isDeviceConnected method

Future<bool> isDeviceConnected()

check for connection status

Implementation

Future<bool> isDeviceConnected() async {
  final isConnected = await deviceController.senseDeviceStatus();
  return isConnected;
}