Comment class Null safety

YouTube comment metadata.

Annotations

Constructors

Comment(String author, ChannelId channelId, String text, int likeCount, String publishedTime, int replyCount, @internal String? continuation)
Initializes an instance of Comment
const
factory

Properties

author String
Comment author name.
read-only, inherited
channelId ChannelId
Comment author channel id.
read-only, inherited
continuation String?
Used internally. Shouldn't be used in the code.
@internal, read-only, inherited
copyWith → $CommentCopyWith<Comment>
@JsonKey(ignore: true), read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
likeCount int
Comment likes count.
read-only, inherited
publishedTime String
Published time as string. (For example: "2 years ago")
read-only, inherited
replyCount int
Comment reply count.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Comment text.
read-only, inherited

Methods

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

Operators

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