copyWith method

PageIdResponse copyWith({
  1. String? id,
  2. String? name,
})

Implementation

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