copyWith method

Label copyWith({
  1. dynamic id,
  2. String? name,
  3. String? prefix,
})

Implementation

Label copyWith({dynamic id, String? name, String? prefix}) {
  return Label(
    id: id ?? this.id,
    name: name ?? this.name,
    prefix: prefix ?? this.prefix,
  );
}