call hive in graphql – Flutter
I would like to retrieve sessionToken and authToken from Hive, then put it inside GraphQLClient main.dart GetIt sl = GetIt.instance; void main() async { // Register Service locator await initAuthServiceLocator(sl); .... await sl.allReady(); runApp(...); } initAuthServiceLocator Future<void> initAuthServiceLocator( GetIt sl,…