copyWith method
NestedResponse
copyWith({
- ErrorCollection? errorCollection,
- int? status,
- WarningCollection? warningCollection,
Implementation
NestedResponse copyWith(
{ErrorCollection? errorCollection,
int? status,
WarningCollection? warningCollection}) {
return NestedResponse(
errorCollection: errorCollection ?? this.errorCollection,
status: status ?? this.status,
warningCollection: warningCollection ?? this.warningCollection,
);
}