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