getTheme method

Future<Theme> getTheme(
  1. String themeKey
)

Returns a theme. This includes information about the theme name, description, and icon.

Permissions required: None

Implementation

Future<Theme> getTheme(String themeKey) async {
  return Theme.fromJson(await _client.send(
    'get',
    'wiki/rest/api/settings/theme/{themeKey}',
    pathParameters: {
      'themeKey': themeKey,
    },
  ));
}