RedditClient class Null safety

Inheritance

Properties

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
status → AuthenticationStatus
read-only, override

Methods

convertFromReddit(Subreddit sub) → Subreddit
getPosts({String? subreddit, PostSort sortBy = PostSort.hot, PostSortSince since = PostSortSince.none, String? after, int limit = 100}) → Future<List<Post>>
override
getSettings() → Future<Settings>
override
getSubreddit(String name) → Future<Subreddit>
override
getSubreddits() → Future<List<Subreddit>>
override
isSubscribedToSubreddit(String subreddit) → Future<bool>
override
login() → Future
override
logout() → Future
override
me() → Future<User?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
nullIfEmpty(String? str) → String?
nullIfEmptyUri(Uri? str) → Uri?
searchSubreddit(String query) → Future<List<String>>
override
subscribe(String subreddit) → Future
override
toString() → String
A string representation of this object. [...]
inherited
unsubscribe(String subreddit) → Future
override
updateSettings(Settings settings) → Future
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited

Static Methods

newInstance() → Future<RedditClient>