Comment class
Constructors
Properties
-
The author of the comment
final
- creationTime → DateTime
-
The time of comment creation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The id of the comment
final
- isAnonymous → bool
-
Whether the comment was posted anonymously or not
final
- isFromAdmin → bool
-
Whether the comment was left from the Admin or not
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - suggestionId → String
-
The id of the Suggestion of the comment
final
- text → String
-
Text of the comment
final
Methods
-
copyWith(
{String? id, String? suggestionId, SuggestionAuthor? author, bool? isAnonymous, String? text, DateTime? creationTime, bool? isFromAdmin}) → Comment -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUpdatingJson(
) → Map< String, dynamic>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited