MoreComments class
Represents comments which have been collapsed under a 'load more comments' or 'continue this thread' section.
- Inheritance
-
- Object
- RedditBase
- MoreComments
- Mixed in types
Constructors
- MoreComments.parse(Reddit reddit, Map data)
Properties
- children → List
-
no setter
- count → int
-
The number of comments this instance of MoreComments expands into.
no setter
- currentIndex ↔ int
-
getter/setter pair
- data → Map?
-
Returns the raw properties dictionary for this object.
no setterinherited
- fullname → String?
-
The fullname of a Reddit object.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
The id of a Reddit object.
no setterinherited
-
infoParams
→ Map<
String, String> ? -
no setterinherited
- infoPath → String
-
The base request format for the current object.
no setterinherited
- isContinueThisThread → bool
-
True if this instance of MoreComments is the equivalent of the
'continue this thread' link in www.reddit.com comments.
no setter
- isLoadMoreComments → bool
-
True if this instance of MoreComments is the equivalent of the
'load more comments' link in www.reddit.com comments.
no setter
- parentId → String
-
The ID of the parent Comment or Submission.
no setter
- reddit → Reddit
-
The current Reddit instance.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- submission → SubmissionRef
-
no setter
Methods
-
comments(
{bool update = true}) → Future< List?> -
Expand MoreComments into the list of actual
Comments
it represents. -
fetch(
) → Future -
Requests the data associated with the current object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → Future -
Requests updated information from the Reddit API and updates the current
object properties.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator <(
dynamic other) → bool -
operator ==(
Object other) → bool -
The equality operator.
override