deviceModel property
Get device model.
Returns
- The device model
Throws
- An exception if it fails.
Implementation
static String get deviceModel {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getDeviceModel',
);
return resultString['result'];
}
Set device model.
Parameters
- IN name The device model.
Throws
- An exception if it fails.
Implementation
static set deviceModel(String model) {
objectMethod(0, 'SdkSettings', 'setDeviceModel', args: model);
}