copyWith method

Catalog copyWith({
  1. String? catalogId,
  2. String? catalogName,
})

Implementation

Catalog copyWith({
  String? catalogId,
  String? catalogName,
}) =>
    Catalog(
      catalogId: catalogId ?? this.catalogId,
      catalogName: catalogName ?? this.catalogName,
    );