copyWith method

LabelDetails copyWith({
  1. Label? label,
  2. LabeledContentPageResponse? associatedContents,
})

Implementation

LabelDetails copyWith(
    {Label? label, LabeledContentPageResponse? associatedContents}) {
  return LabelDetails(
    label: label ?? this.label,
    associatedContents: associatedContents ?? this.associatedContents,
  );
}