copyWith method
Android
copyWith({
- String? androidversion,
- int? apiLevel,
- String? androidSecurityPatchLevel,
- bool? isDeviceRooted,
- String? androidId,
- String? baseband,
- String? bootloader,
- String? buildId,
- String? codeName,
- String? fingerprint,
- String? id,
- String? incremental,
- String? javaRuntimeVersion,
- String? javaVmVersion,
- String? javaHeapSize,
- String? kernelArchitecture,
- String? kernelVersion,
- String? tags,
- String? buildType,
- String? googlePlayServiceVersion,
- String? opensslVersion,
- String? zlibVersion,
- String? icuCldrVersion,
- String? icuLibraryVersion,
- String? icuUnicodeVersion,
- String? androidLanguage,
- String? configuredTimeZone,
copyWith is the function to copy the android information.
Implementation
Android copyWith({
String? androidversion,
int? apiLevel,
String? androidSecurityPatchLevel,
bool? isDeviceRooted,
String? androidId,
String? baseband,
String? bootloader,
String? buildId,
String? codeName,
String? fingerprint,
String? id,
String? incremental,
String? javaRuntimeVersion,
String? javaVmVersion,
String? javaHeapSize,
String? kernelArchitecture,
String? kernelVersion,
String? tags,
String? buildType,
String? googlePlayServiceVersion,
String? opensslVersion,
String? zlibVersion,
String? icuCldrVersion,
String? icuLibraryVersion,
String? icuUnicodeVersion,
String? androidLanguage,
String? configuredTimeZone,
}) {
return Android(
androidversion: androidversion ?? this.androidversion,
apiLevel: apiLevel ?? this.apiLevel,
androidSecurityPatchLevel:
androidSecurityPatchLevel ?? this.androidSecurityPatchLevel,
isDeviceRooted: isDeviceRooted ?? this.isDeviceRooted,
androidId: androidId ?? this.androidId,
baseband: baseband ?? this.baseband,
bootloader: bootloader ?? this.bootloader,
buildId: buildId ?? this.buildId,
codeName: codeName ?? this.codeName,
fingerprint: fingerprint ?? this.fingerprint,
id: id ?? this.id,
incremental: incremental ?? this.incremental,
javaRuntimeVersion: javaRuntimeVersion ?? this.javaRuntimeVersion,
javaVmVersion: javaVmVersion ?? this.javaVmVersion,
javaHeapSize: javaHeapSize ?? this.javaHeapSize,
kernelArchitecture: kernelArchitecture ?? this.kernelArchitecture,
kernelVersion: kernelVersion ?? this.kernelVersion,
tags: tags ?? this.tags,
buildType: buildType ?? this.buildType,
googlePlayServiceVersion:
googlePlayServiceVersion ?? this.googlePlayServiceVersion,
opensslVersion: opensslVersion ?? this.opensslVersion,
zlibVersion: zlibVersion ?? this.zlibVersion,
icuCldrVersion: icuCldrVersion ?? this.icuCldrVersion,
icuLibraryVersion: icuLibraryVersion ?? this.icuLibraryVersion,
icuUnicodeVersion: icuUnicodeVersion ?? this.icuUnicodeVersion,
androidLanguage: androidLanguage ?? this.androidLanguage,
configuredTimeZone: configuredTimeZone ?? this.configuredTimeZone,
);
}