CommentRef class
A lazily initialized class which represents a single Reddit comment. Can be promoted to a Comment.
- Inheritance
-
- Object
- RedditBase
- UserContent
- CommentRef
- Implementers
Constructors
- CommentRef.withID(Reddit reddit, String _id)
- CommentRef.withPath(Reddit reddit, dynamic url)
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
- reddit → Reddit
-
The current Reddit instance.
finalinherited
- replies → CommentForest?
-
A forest of replies to the current comment.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
populate(
) → Future< Comment> -
Promotes this CommentRef into a populated
Comment
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited