copyWith method
DeviceInfoEntity
copyWith(
{ - String? identifier,
- int? buildVersionCode,
- String? name,
- String? versionString,
- String? versionCode,
- String? sysVersion,
- String? machine,
- String? idfv,
- int? screenWidth,
- int? screenHeight,
- String? adsToken,
})
Implementation
DeviceInfoEntity copyWith({ String? identifier,
int? buildVersionCode,
String? name,
String? versionString,
String? versionCode,
String? sysVersion,
String? machine,
String? idfv,
int? screenWidth,
int? screenHeight,
String? adsToken
}) => DeviceInfoEntity( identifier: identifier ?? this.identifier,
buildVersionCode: buildVersionCode ?? this.buildVersionCode,
name: name ?? this.name,
versionString: versionString ?? this.versionString,
versionCode: versionCode ?? this.versionCode,
sysVersion: sysVersion ?? this.sysVersion,
machine: machine ?? this.machine,
idfv: idfv ?? this.idfv,
screenWidth: screenWidth ?? this.screenWidth,
screenHeight: screenHeight ?? this.screenHeight,
adsToken: adsToken ?? this.adsToken
);