copyWith method

Item copyWith({
  1. dynamic meta,
  2. String? key,
  3. String? name,
  4. String? description,
  5. List<Tag>? tags,
})

Implementation

Item copyWith({
  dynamic meta,
  String? key,
  String? name,
  String? description,
  List<Tag>? tags,
}) =>
    Item(
      meta: meta ?? this.meta,
      key: key ?? this.key,
      name: name ?? this.name,
      description: description ?? this.description,
      tags: tags ?? this.tags,
    );