copyWith method
Implementation
Query copyWith({
String? document,
Map<String, dynamic>? variables,
Map<String, String>? headers,
String? key,
}) {
return Query(
document: document ?? this.document,
variables: variables ?? this.variables,
headers: headers ?? this.headers,
key: key ?? this.key,
);
}