Comment class
<p>This class returns a Comment instance.</p>
Constructors
Comment ({String? text, String? createdAt, User? creator, String? post, String? likeCount})
Comment.fromJson (Map<String, dynamic> json)
factory
Properties
createdAt ↔ String?
<span class="feature">read / write</span>
creator ↔ User?
<span class="feature">read / write</span>
hashCode → int
The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>
likeCount ↔ String?
<span class="feature">read / write</span>
post ↔ String?
<span class="feature">read / write</span>
runtimeType → Type
A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>
text ↔ String?
<span class="feature">read / write</span>
Methods
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>
toString() String
A string representation of this object.
<span class="feature">inherited</span>
Operators
operator ==(Object other) bool
The equality operator.
<span class="feature">inherited</span>