Comment class

Data structure for a comment submission

Inheritance

Constructors

Comment(API api)
Comment.from(API api, Map<String, dynamic> data)
factory

Properties

api API
final
author User?
data'author'
getter/setter pair
body Body?
data'body'; 'body_html'
getter/setter pair
createdAt int?
data'created_utc'
getter/setter pairinherited
editedAt int?
data'edited_utc'
getter/setter pair
flags SubmissionFlags?
data'is_archived'; 'is_banned'; 'is_bot'; 'is_deleted'; 'is_distinguished'; 'is_heralded'; 'is_nsfl'; 'is_nsfw'; 'is_offensive'; 'is_pinned'
getter/setter pair
fullId String?
data'fullname'
getter/setter pairinherited
API.host + data'permalink'
getter/setter pairinherited
guild Guild?
data'guild'
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heraldGuild Guild?
data'herald_guild'
getter/setter pair
id String?
data'id'
getter/setter pairinherited
nestingLevel int?
data'level'
getter/setter pair
originalGuild Guild?
data'original_guild'
getter/setter pair
data'permalink'
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stats SubmissionStats?
data'award_count'; 'comment_count'
getter/setter pair
votes SubmissionVotes?
data'score'; 'upvotes'; 'downvotes'; 'voted'
getter/setter pair

Methods

fetchData(String id) Future
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