SocialCommentTree class abstract final

Builds a nested comment tree from a flat collection returned by the API.

Pass all pages loaded for a post when possible. If a reply's parent is not in comments (for example, because the parent is on a page not loaded yet), that reply is returned as a root node rather than being silently dropped.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromComments(List<Comment> comments) → List<SocialCommentNode>