copyWith method

Android copyWith({
  1. String? androidversion,
  2. int? apiLevel,
  3. String? androidSecurityPatchLevel,
  4. bool? isDeviceRooted,
  5. String? androidId,
  6. String? baseband,
  7. String? bootloader,
  8. String? buildId,
  9. String? codeName,
  10. String? fingerprint,
  11. String? id,
  12. String? incremental,
  13. String? javaRuntimeVersion,
  14. String? javaVmVersion,
  15. String? javaHeapSize,
  16. String? kernelArchitecture,
  17. String? kernelVersion,
  18. String? tags,
  19. String? buildType,
  20. String? googlePlayServiceVersion,
  21. String? opensslVersion,
  22. String? zlibVersion,
  23. String? icuCldrVersion,
  24. String? icuLibraryVersion,
  25. String? icuUnicodeVersion,
  26. String? androidLanguage,
  27. 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,
  );
}