copyWith method
ScreenWithTab
copyWith({
- String? description,
- int? id,
- String? name,
- Scope? scope,
- 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,
);
}