copyWith method
Implementation
PlanModelsList copyWith({
int? totalItems,
List<PlanModel>? items,
}) {
return PlanModelsList(
totalItems: totalItems ?? this.totalItems,
items: items ?? this.items,
);
}
PlanModelsList copyWith({
int? totalItems,
List<PlanModel>? items,
}) {
return PlanModelsList(
totalItems: totalItems ?? this.totalItems,
items: items ?? this.items,
);
}