copyWith method

SearchBackground copyWith({
  1. String? name,
})

Implementation

SearchBackground copyWith({String? name}) =>
    SearchBackground(name: name ?? this.name);