SystemInfo.fromMap constructor
fromMap returns a SystemInfo object from a map.
Implementation
factory SystemInfo.fromMap(Map<String, dynamic> map) {
return SystemInfo(
manufacture: map['manufacture'] ?? '',
model: map['model'] ?? '',
brand: map['brand'] ?? '',
android: map['android'] ?? '',
apiLevel: map['apiLevel'] ?? '',
codeName: map['codeName'] ?? '',
density: map['density'] ?? '',
refreshRate: map['refreshRate'] ?? '',
product: map['product'] ?? '',
board: map['board'] ?? '',
build: map['build'] ?? '',
javaVmVersion: map['javaVmVersion'] ?? '',
security: map['security'] ?? '',
baseband: map['baseband'] ?? '',
serial: map['serial'] ?? '',
buildType: map['buildType'] ?? '',
tags: map['tags'] ?? '',
incremental: map['incremental'] ?? '',
fingerprint: map['fingerprint'] ?? '',
fingerprintManufacture: map['fingerprintManufacture'] ?? '',
fingerprintModel: map['fingerprintModel'] ?? '',
defaultOrientation: map['defaultOrientation'] ?? '',
bootloader: map['bootloader'] ?? '',
selinux: map['selinux'] ?? '',
);
}