copyWith method Null safety
- {String? url,
- Query? query,
- RequestType? type}
Implementation
Request copyWith({
String? url,
Query? query,
RequestType? type,
}) {
return Request(
url: url ?? this.url,
query: query ?? this.query,
type: type ?? this.type,
);
}