CommentResponse class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

CommentResponse(int id, int replies, int likes, CommentSharing? sharing, String comment, bool spoiler, bool review, User user, int parentId, UserStats userStats, String createdAt, String updatedAt)
CommentResponse.fromJson(Map<String, dynamic> json)
factory

Properties

comment String
final
createdAt String
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
likes int
final
parentId int
final
replies int
final
review bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharing CommentSharing?
final
spoiler bool
final
updatedAt String
final
user User
final
userStats UserStats
final

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

fromJsonModel(Map<String, dynamic> json) CommentResponse