isConnected method

Future<bool> isConnected ()

Checks the BTLE connection if the device is connected or not.

Returns true if a device is connected false otherwise

Implementation

static Future<bool> isConnected() async {
  connected = await _eSenseManagerMethodChannel.invokeMethod('isConnected');
  return connected;
}