copyWith method

Listing copyWith({
  1. String? id,
  2. String? name,
  3. String? homepage,
  4. String? imageId,
  5. int? order,
  6. String? mobileLink,
  7. String? desktopLink,
  8. String? webappLink,
  9. String? appStore,
  10. String? playStore,
  11. String? rdns,
  12. List<Injected>? injected,
})

Implementation

Listing copyWith({
  String? id,
  String? name,
  String? homepage,
  String? imageId,
  int? order,
  String? mobileLink,
  String? desktopLink,
  String? webappLink,
  String? appStore,
  String? playStore,
  String? rdns,
  List<Injected>? injected,
}) =>
    Listing(
      id: id ?? this.id,
      name: name ?? this.name,
      homepage: homepage ?? this.homepage,
      imageId: imageId ?? this.imageId,
      order: order ?? this.order,
      mobileLink: mobileLink ?? this.mobileLink,
      desktopLink: desktopLink ?? this.desktopLink,
      webappLink: webappLink ?? this.webappLink,
      appStore: appStore ?? this.appStore,
      playStore: playStore ?? this.playStore,
      rdns: rdns ?? this.rdns,
      injected: injected ?? this.injected,
    );