getGlobalTheme method

Future<Theme> getGlobalTheme()

Returns the globally assigned theme.

Permissions required: None

Implementation

Future<Theme> getGlobalTheme() async {
  return Theme.fromJson(await _client.send(
    'get',
    'wiki/rest/api/settings/theme/selected',
  ));
}