copyWith method
Implementation
PageModel copyWith({
String? kind,
List<PostItemModel>? items,
String? etag,
String? error,
}) {
return PageModel(
kind: kind ?? this.kind,
items: items ?? this.items,
etag: etag ?? this.etag,
error: error ?? this.error,
);
}