copyWith method

DeviceDetailsModel copyWith({
  1. String? os,
  2. String? brand,
  3. String? device,
  4. String? model,
  5. String? lastInstalledOn,
  6. String? versionRelease,
})

Implementation

DeviceDetailsModel copyWith({
  String? os,
  String? brand,
  String? device,
  String? model,
  String? lastInstalledOn,
  String? versionRelease,
}) {
  return DeviceDetailsModel(
    os: os ?? this.os,
    brand: brand ?? this.brand,
    device: device ?? this.device,
    model: model ?? this.model,
    lastInstalledOn: lastInstalledOn ?? this.lastInstalledOn,
    versionRelease: versionRelease ?? this.versionRelease,
  );
}