From b886879b9f99ad828a173522135fe11669b2a15d Mon Sep 17 00:00:00 2001 From: Maina Wycliffe Date: Thu, 9 Jan 2020 11:59:36 +0300 Subject: [PATCH] refactor: remove unnecessary code ` '' + '_graphql_cache'` can be simplified to ` '_graphql_cache'` --- packages/graphql/lib/src/cache/in_memory_html.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graphql/lib/src/cache/in_memory_html.dart b/packages/graphql/lib/src/cache/in_memory_html.dart index a7c8f1d36..7fd822efb 100644 --- a/packages/graphql/lib/src/cache/in_memory_html.dart +++ b/packages/graphql/lib/src/cache/in_memory_html.dart @@ -13,7 +13,7 @@ class InMemoryCache implements Cache { InMemoryCache({ this.storagePrefix = '', }) { - masterKey = storagePrefix.toString() ?? '' + '_graphql_cache'; + masterKey = storagePrefix.toString() ?? '_graphql_cache'; } final FutureOr storagePrefix;