getConfig method

Future<Config> getConfig()

Implementation

Future<Config> getConfig() async {
  HeraRequest req = HeraRequest();
  req.cloudToken = await _authorize.getAccessToken();
  req.namespace = namespace;
  try {
    return (await grpcUserClient.getConfig(req)).config;
  } catch (e) {
    debug ? print(e) : () {};
    rethrow;
  }
}