deviceModel property

String get deviceModel

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 deviceModel (String model)

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);
}