copyWith method

SearchStickerSet copyWith({
  1. String? name,
  2. bool? ignoreCache,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

SearchStickerSet copyWith({String? name, bool? ignoreCache}) =>
    SearchStickerSet(
      name: name ?? this.name,
      ignoreCache: ignoreCache ?? this.ignoreCache,
    );