Skip to main content

Comment class

This class returns a Comment instance.

Annotations

: - @HiveType(typeId: 12)

Constructors

[Comment][]

:

[Comment.fromJson][([[Map[<[String], dynamic>]] json])]

: ::: factory :::

Properties

[createdAt] [↔ String?] : The creation date of the comment. ::: features getter/setter pair :::

[creator] [↔ User?] : The creator of the comment. ::: features getter/setter pair :::

[hashCode] [→ int] : The hash code for this object. ::: features no setterinherited :::

[likeCount] [↔ String?] : The like count of the comment. ::: features getter/setter pair :::

[post] [↔ String?] : The post associated with the comment. ::: features getter/setter pair :::

[runtimeType] [→ Type] : A representation of the runtime type of the object. ::: features no setterinherited :::

[text] [↔ String?] : The text of the comment. ::: features getter/setter pair :::

Methods

[noSuchMethod][([[Invocation] invocation]) → dynamic ] : Invoked when a nonexistent method or property is accessed. ::: features inherited :::

[toString][ [→ String] ] : A string representation of this object. ::: features inherited :::

Operators

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

  1. talawa
  2. comment_model
  3. Comment class
comment_model library