SubredditFlair class
Provides a set of functions to interact with a Subreddit's flair.
Constructors
- SubredditFlair(SubredditRef _subreddit)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkTemplates → SubredditLinkFlairTemplates
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- templates → SubredditRedditorFlairTemplates
-
no setter
Methods
-
call(
{dynamic redditor, Map< String, String> ? params}) → Stream<Flair> -
configure(
{FlairPosition position = FlairPosition.right, bool selfAssign = false, FlairPosition linkPosition = FlairPosition.left, bool linkSelfAssign = false}) → Future< void> - Update the Subreddit's flair configuration.
-
delete(
dynamic redditor) → Future< void> - Deletes flair for a Redditor.
-
deleteAll(
) → Future< List< Map> > - Deletes all Redditor flair in the Subreddit.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFlair(
dynamic redditor, {String text = '', String cssClass = ''}) → Future< void> - Sets the flair for a Redditor.
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
dynamic flairList, {String text = '', String cssClass = ''}) → Future< List< Map< >String, dynamic> > - Set or clear the flair of multiple Redditors at once.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited