Comment class

YouTube comment metadata.

Constructors

Comment(String commentId, String author, ChannelId channelId, String text, int likeCount, String publishedTime, int replyCount, String continuation, String clicktrackingParams)
Initializes an instance of Comment

Properties

author → String
Comment author name.
final
channelId ChannelId
Comment author channel id.
final
clicktrackingParams → String
Used internally. Shouldn't be used in the code.
final
commentId → String
Comment id.
final
continuation → String
Used internally. Shouldn't be used in the code.
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
likeCount → int
Comment likes count.
final
props → List<Object>
The list of properies that will be used to determine whether two instances are equal.
read-only
publishedTime → String
Published time as string. (For example: "2 years ago")
final
replyCount → int
Comment reply count.
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
stringify → bool
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, inherited
text → String
Comment text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
override

Operators

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