copyWith method

TestDeviceInfo copyWith({
  1. String? appIdentifier,
  2. String? brand,
  3. String? buildNumber,
  4. String? device,
  5. String? deviceGroup,
  6. double? devicePixelRatio,
  7. BaseSize? dips,
  8. String? id,
  9. String? launchId,
  10. String? manufacturer,
  11. String? model,
  12. String? orientation,
  13. String? os,
  14. bool? physicalDevice,
  15. BaseSize? pixels,
  16. String? systemVersion,
})

Implementation

TestDeviceInfo copyWith({
  String? appIdentifier,
  String? brand,
  String? buildNumber,
  String? device,
  String? deviceGroup,
  double? devicePixelRatio,
  BaseSize? dips,
  String? id,
  String? launchId,
  String? manufacturer,
  String? model,
  String? orientation,
  String? os,
  bool? physicalDevice,
  BaseSize? pixels,
  String? systemVersion,
}) =>
    TestDeviceInfo.custom(
      appIdentifier: appIdentifier ?? this.appIdentifier,
      brand: brand ?? this.brand,
      buildNumber: buildNumber ?? this.brand,
      device: device ?? this.device,
      deviceGroup: deviceGroup ?? this.deviceGroup,
      devicePixelRatio: devicePixelRatio ?? this.devicePixelRatio,
      dips: dips ?? this.dips,
      id: id ?? this.id,
      launchId: launchId ?? this.launchId,
      manufacturer: manufacturer ?? this.manufacturer,
      model: model ?? this.model,
      orientation: orientation ?? this.orientation,
      os: os ?? this.os,
      physicalDevice: physicalDevice ?? this.physicalDevice,
      pixels: pixels ?? this.pixels,
      systemVersion: systemVersion ?? this.systemVersion,
    );