copyWith method
AndroidDeviceInfo
copyWith({
- SystemInfo? system,
- CPUInfo? cpu,
- Android? android,
- DRMINFO? drmInfo,
- Memory? memory,
- CameraInfos? camera,
- Battery? battery,
- Display? display,
- Thermal? thermal,
- Network? network,
- SimInfo? simInfo,
- SystemFiles? systemFile,
copyWith is the function to copy the class.
Implementation
AndroidDeviceInfo copyWith({
SystemInfo? system,
CPUInfo? cpu,
Android? android,
DRMINFO? drmInfo,
Memory? memory,
CameraInfos? camera,
Battery? battery,
Display? display,
Thermal? thermal,
Network? network,
SimInfo? simInfo,
SystemFiles? systemFile,
}) {
return AndroidDeviceInfo(
system: system ?? this.system,
cpu: cpu ?? this.cpu,
android: android ?? this.android,
drmInfo: drmInfo ?? this.drmInfo,
memory: memory ?? this.memory,
camera: camera ?? this.camera,
battery: battery ?? this.battery,
display: display ?? this.display,
thermal: thermal ?? this.thermal,
network: network ?? this.network,
simInfo: simInfo ?? this.simInfo,
systemFile: systemFile ?? this.systemFile,
);
}