AndroidDeviceInfo constructor
AndroidDeviceInfo({
- required AndroidBuildVersion version,
- String? board,
- String? bootloader,
- String? brand,
- String? device,
- String? display,
- String? fingerprint,
- String? hardware,
- String? host,
- String? id,
- String? manufacturer,
- String? model,
- String? product,
- required List<
String?> supported32BitAbis, - required List<
String?> supported64BitAbis, - required List<
String?> supportedAbis, - String? tags,
- String? type,
- bool? isPhysicalDevice,
- required List<
String?> systemFeatures, - required AndroidDisplayMetrics displayMetrics,
Android device Info class.
Implementation
AndroidDeviceInfo({
required this.version,
this.board,
this.bootloader,
this.brand,
this.device,
this.display,
this.fingerprint,
this.hardware,
this.host,
this.id,
this.manufacturer,
this.model,
this.product,
required List<String?> supported32BitAbis,
required List<String?> supported64BitAbis,
required List<String?> supportedAbis,
this.tags,
this.type,
this.isPhysicalDevice,
required List<String?> systemFeatures,
required this.displayMetrics,
}) : supported32BitAbis = List<String?>.unmodifiable(supported32BitAbis),
supported64BitAbis = List<String?>.unmodifiable(supported64BitAbis),
supportedAbis = List<String?>.unmodifiable(supportedAbis),
systemFeatures = List<String?>.unmodifiable(systemFeatures);