copyWith method

ScreenScheme copyWith({
  1. String? description,
  2. int? id,
  3. PageBeanIssueTypeScreenScheme? issueTypeScreenSchemes,
  4. String? name,
  5. ScreenTypes? screens,
})

Implementation

ScreenScheme copyWith(
    {String? description,
    int? id,
    PageBeanIssueTypeScreenScheme? issueTypeScreenSchemes,
    String? name,
    ScreenTypes? screens}) {
  return ScreenScheme(
    description: description ?? this.description,
    id: id ?? this.id,
    issueTypeScreenSchemes:
        issueTypeScreenSchemes ?? this.issueTypeScreenSchemes,
    name: name ?? this.name,
    screens: screens ?? this.screens,
  );
}