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