getAppConfig method

Future<Result<HelpAppConfigBase>> getAppConfig({
  1. required int hash,
})

Get App Config.

ID: 61e3f854.

Implementation

Future<Result<HelpAppConfigBase>> getAppConfig({
  required int hash,
}) async {
  // Preparing the request.
  final request = HelpGetAppConfig(
    hash: hash,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<HelpAppConfigBase>();
}