getDeviceDisplayName method

Future<String> getDeviceDisplayName ()

Returns the display name of the device. The display name is retrieved from the MobileFirst Server registration data.

Implementation

Future<String> getDeviceDisplayName() async {
  final String deviceName =
      await _channel.invokeMethod(WLCLIENT_GETDEVICE_DISPLAYNAME);
  return deviceName;
}