getDeviceDisplayName method
Returns the display name of the device. The display name is retrieved from the MobileFirst Server registration data.
Implementation
Future<String> getDeviceDisplayName() async {
final dynamic response =
await _channel.invokeMethod(WLCLIENT_GETDEVICE_DISPLAYNAME);
if (response is String) {
return response;
} else {
final MFResponse mfResponse = MFResponse(mfResponse: response);
throw mfResponse;
}
}