copyWith method

GroupLabel copyWith({
  1. String? text,
  2. String? title,
  3. GroupLabelType? type,
})

Implementation

GroupLabel copyWith({String? text, String? title, GroupLabelType? type}) {
  return GroupLabel(
    text: text ?? this.text,
    title: title ?? this.title,
    type: type ?? this.type,
  );
}