call method

Future<StyleSheet> call()

Return the stylesheet for the Subreddit.

Implementation

Future<StyleSheet> call() async {
  final uri = apiPath['about_stylesheet']
      .replaceAll(SubredditRef._subredditRegExp, _subreddit.displayName);
  return (await _subreddit.reddit.get(uri)) as StyleSheet;
}