copyWith method
Implementation
ScreenDetails copyWith({String? description, String? name}) {
return ScreenDetails(
description: description ?? this.description,
name: name ?? this.name,
);
}
ScreenDetails copyWith({String? description, String? name}) {
return ScreenDetails(
description: description ?? this.description,
name: name ?? this.name,
);
}