getDeviceAssetId method
Fetches the administrator-annotated Asset Id. If the current user is not affiliated or no Asset Id has been set by the administrator, returns an empty string. |callback| : Called with the Asset ID of the device.
Implementation
Future<String> getDeviceAssetId() async {
var $res = await promiseToFuture<String>(
$js.chrome.enterprise.deviceAttributes.getDeviceAssetId());
return $res;
}