getTheme method
Get Theme.
ID: 3a5869ec
.
Implementation
Future<Result<ThemeBase>> getTheme({
required String format,
required InputThemeBase theme,
}) async {
// Preparing the request.
final request = AccountGetTheme(
format: format,
theme: theme,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<ThemeBase>();
}