CommentModel class
Constructors
-
CommentModel(String avatar, String name, dynamic titleColor, String comment, String time, bool liked, int likeCount, List<
ReplyModel> replies)
Properties
- avatar → String
-
final
- comment → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- likeCount ↔ int
-
getter/setter pair
- liked ↔ bool
-
getter/setter pair
- name → String
-
final
-
replies
↔ List<
ReplyModel> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → String
-
final
- titleColor → dynamic
-
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