getFriendlyName method

Future<String> getFriendlyName()

Gets the device's friendly (display) name.

Note: the name property provides the same value without an async call.

Implementation

Future<String> getFriendlyName() async {
  return (await _get(CapturePropertyIds.friendlyNameDevice)) as String;
}