copyWith method
Implementation
CleanResponse copyWith({
int? statusCode,
dynamic body,
Map<String, String>? header,
}) {
return CleanResponse(
statusCode: statusCode ?? this.statusCode,
data: body ?? data,
header: header ?? this.header,
);
}