diff --git a/packages/graphql/lib/src/graphql_client.dart b/packages/graphql/lib/src/graphql_client.dart index 236065fb9..278676bba 100644 --- a/packages/graphql/lib/src/graphql_client.dart +++ b/packages/graphql/lib/src/graphql_client.dart @@ -27,7 +27,7 @@ class GraphQLClient implements GraphQLDataProxy { DefaultPolicies? defaultPolicies, bool alwaysRebroadcast = false, }) { - defaultPolicies = defaultPolicies ?? DefaultPolicies(); + this.defaultPolicies = defaultPolicies ?? DefaultPolicies(); queryManager = QueryManager( link: link, cache: cache,