DeviceInformation constructor
DeviceInformation({})
Implementation
DeviceInformation({
String? deviceId,
String? deviceName,
String? osName,
String? osVersion,
num? osVersionCode,
String? softwareName,
String? softwareVersion,
String? applicationId,
String? applicationType,
String? applicationName,
String? applicationVersion,
String? applicationBuildCode,
}) : deviceId = deviceId ?? 'unknown_device_id',
deviceName = deviceName ?? 'unknown_device_name',
osName = osName ?? 'unknown_os_name',
osVersion = osVersion ?? 'unknown_os_version',
osVersionCode = osVersionCode ?? -1,
softwareName = softwareName ?? 'unknown_software_name',
softwareVersion = softwareVersion ?? 'unknown_software_version',
applicationId = applicationId ?? 'unknown_application_id',
applicationType = applicationType ?? 'unknown_application_type',
applicationName = applicationName ?? 'unknown_application_name',
applicationVersion =
applicationVersion ?? 'unknown_application_version',
applicationBuildCode =
applicationBuildCode ?? 'unknown_application_build_code';