Comment class

Constructors

Comment({required String name, required String username, required String profileImageUrl, required num likes, required num comments, required num shares, required List<String> groupTags, required String postedTime, required String comment, List<CommentReply>? replies})
const

Properties

comment String
final
comments num
final
groupTags List<String>
final
hashCode int
The hash code for this object.
no setterinherited
likes num
final
name String
final
postedTime String
final
profileImageUrl String
final
replies List<CommentReply>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shares num
final
username String
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