deviceName property

Future<String> deviceName

Future method to get device name of the device

Implementation

static Future<String> get deviceName async {
  final deviceName = await _channel.invokeMethod("getDevice");
  return deviceName == null ? "" : deviceName;
}