Skip to content

Commit

Permalink
refactor: remove unnecessary code
Browse files Browse the repository at this point in the history
` '' + '_graphql_cache'` can be simplified to ` '_graphql_cache'`
  • Loading branch information
mainawycliffe authored Jan 9, 2020
1 parent c1132ae commit b886879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql/lib/src/cache/in_memory_html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class InMemoryCache implements Cache {
InMemoryCache({
this.storagePrefix = '',
}) {
masterKey = storagePrefix.toString() ?? '' + '_graphql_cache';
masterKey = storagePrefix.toString() ?? '_graphql_cache';
}

final FutureOr<String> storagePrefix;
Expand Down

0 comments on commit b886879

Please sign in to comment.