ContributorRelationship class
Provides methods to interact with a Subreddit's contributors.
Contributors are also known as approved submitters.
- Inheritance
-
- Object
- SubredditRelationship
- ContributorRelationship
Constructors
- ContributorRelationship(SubredditRef subreddit, String relationship)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- relationship → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
dynamic redditor, {Map< String, String> ? params}) → Future<void> -
Add a Redditor to this relationship.
inherited
-
call(
{dynamic redditor, Map< String, String> ? params}) → Stream<Redditor> -
inherited
-
leave(
) → Future< void> - Have the current User remove themself from the contributors list.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
dynamic redditor, {Map< String, String> ? params}) → Future<void> -
Remove a Redditor from this relationship.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited