FrontPage class

The FrontPage class provides methods to access listings of content on the Reddit front page.

Inheritance
Mixed-in types

Constructors

FrontPage.new(Reddit reddit)

Properties

hashCode int
The hash code for this object.
no setterinherited
infoParams Map<String, String>?
no setterinherited
infoPath String
The base request format for the current object.
no setterinherited
path String
getter/setter pairoverride-getter
reddit Reddit
The current Reddit instance.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

best({int? limit, String? after, Map<String, String>? params}) Stream<UserContent>
Returns a UserContent that is "best".
controversial({TimeFilter timeFilter = TimeFilter.all, int? limit, String? after, Map<String, String>? params}) Stream<UserContent>
Returns a Stream of controversial comments and submissions. timeFilter is used to filter comments and submissions by time period.
inherited
fetch() Future
Requests the data associated with the current object.
inherited
gilded({int? limit, String? after, Map<String, String>? params}) Stream<UserContentInitialized>
Returns a Stream of content that has been gilded.
inherited
hot({int? limit, String? after, Map<String, String>? params}) Stream<UserContent>
Returns a Stream of hot comments and submissions.
inherited
newest({int? limit, String? after, Map<String, String>? params}) Stream<UserContent>
Returns a Stream of the newest comments and submissions.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomRising({int? limit, String? after, Map<String, String>? params}) Stream<UserContent>
Returns a random UserContent that is "rising".
inherited
rising({int? limit, String? after, Map<String, String>? params}) Stream<UserContent>
Returns a UserContent that is "rising".
inherited
top({TimeFilter timeFilter = TimeFilter.all, int? limit, String? after, Map<String, String>? params}) Stream<UserContent>
Returns a Stream of the top comments and submissions.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited