copyWith method
Implementation
ScreenableTab copyWith({int? id, String? name}) {
return ScreenableTab(
id: id ?? this.id,
name: name ?? this.name,
);
}
ScreenableTab copyWith({int? id, String? name}) {
return ScreenableTab(
id: id ?? this.id,
name: name ?? this.name,
);
}