Reddit class

Constructors

Reddit(Client _client)

Properties

frontPage Subreddit
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

authFinish({Map response, String code, String username, String password}) → Future<Reddit>
Finish the OAuth2 setup. [...]
authSetup(String identifier, String secret) → void
Start the OAuth2 setup. [...]
authUrl(dynamic redirectUrl, {List<String> scopes, String state}) → Uri
Get the authorization URL to forward a user to to get auth information.
info() FilterableQuery
Allowed filters are "id", "limit", "url".
multi(String user, String multiName) Multireddit
newSubreddits() Listing
Allowed filters are all Listing filters.
popularSubreddits() Listing
Allowed filters are all Listing filters.
recommendedSubreddits(Iterable<String> subs) FilterableQuery
Allowed filters are "omit".
searchSubreddits(String query) Listing
Allowed filters are all Listing filters.
sub(String sub) Subreddit
subredditsByTopic(String topic) Query
user(String username) RedditUser
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

logger Logger
final