copyWith method

ScreenWithTab copyWith({
  1. String? description,
  2. int? id,
  3. String? name,
  4. Scope? scope,
  5. ScreenableTab? tab,
})

Implementation

ScreenWithTab copyWith(
    {String? description,
    int? id,
    String? name,
    Scope? scope,
    ScreenableTab? tab}) {
  return ScreenWithTab(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    scope: scope ?? this.scope,
    tab: tab ?? this.tab,
  );
}