SentryDevice constructor
const
SentryDevice({
- String? name,
- String? family,
- String? model,
- String? modelId,
- String? arch,
- double? batteryLevel,
- SentryOrientation? orientation,
- String? manufacturer,
- String? brand,
- int? screenHeightPixels,
- int? screenWidthPixels,
- double? screenDensity,
- int? screenDpi,
- bool? online,
- bool? charging,
- bool? lowMemory,
- bool? simulator,
- int? memorySize,
- int? freeMemory,
- int? usableMemory,
- int? storageSize,
- int? freeStorage,
- int? externalStorageSize,
- int? externalFreeStorage,
- DateTime? bootTime,
- int? processorCount,
- String? cpuDescription,
- double? processorFrequency,
- String? deviceType,
- String? batteryStatus,
- String? deviceUniqueIdentifier,
- bool? supportsVibration,
- bool? supportsAccelerometer,
- bool? supportsGyroscope,
- bool? supportsAudio,
- bool? supportsLocationService,
- Map<
String, dynamic> ? unknown,
Implementation
const SentryDevice({
this.name,
this.family,
this.model,
this.modelId,
this.arch,
this.batteryLevel,
this.orientation,
this.manufacturer,
this.brand,
this.screenHeightPixels,
this.screenWidthPixels,
this.screenDensity,
this.screenDpi,
this.online,
this.charging,
this.lowMemory,
this.simulator,
this.memorySize,
this.freeMemory,
this.usableMemory,
this.storageSize,
this.freeStorage,
this.externalStorageSize,
this.externalFreeStorage,
this.bootTime,
this.processorCount,
this.cpuDescription,
this.processorFrequency,
this.deviceType,
this.batteryStatus,
this.deviceUniqueIdentifier,
this.supportsVibration,
this.supportsAccelerometer,
this.supportsGyroscope,
this.supportsAudio,
this.supportsLocationService,
this.unknown,
}) : assert(
batteryLevel == null || (batteryLevel >= 0 && batteryLevel <= 100),
);