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? linkMode,
  10. String? appStore,
  11. String? playStore,
  12. String? rdns,
  13. List<Injected>? injected,
})

Implementation

Listing copyWith({
  String? id,
  String? name,
  String? homepage,
  String? imageId,
  int? order,
  String? mobileLink,
  String? desktopLink,
  String? webappLink,
  String? linkMode,
  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,
      linkMode: linkMode ?? this.linkMode,
      appStore: appStore ?? this.appStore,
      playStore: playStore ?? this.playStore,
      rdns: rdns ?? this.rdns,
      injected: injected ?? this.injected,
    );