getThemes method

Future<Result<AccountThemesBase>> getThemes({
  1. required String format,
  2. required int hash,
})

Get Themes.

ID: 7206e458.

Implementation

Future<Result<AccountThemesBase>> getThemes({
  required String format,
  required int hash,
}) async {
  // Preparing the request.
  final request = AccountGetThemes(
    format: format,
    hash: hash,
  );

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

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