CommentView class
- Annotations
-
- @freezed
Constructors
- CommentView({required Comment comment, required PersonSafe creator, PersonSafe? recipient, required Post post, required CommunitySafe community, required CommentAggregates counts, required bool creatorBannedFromCommunity, required bool subscribed, required bool saved, required bool creatorBlocked, VoteType? myVote, required String instanceHost})
-
constfactory
-
CommentView.fromJson(Map<
String, dynamic> json) -
factory
Properties
- comment → Comment
-
no setterinherited
- community → CommunitySafe
-
no setterinherited
-
copyWith
→ $CommentViewCopyWith<
CommentView> -
no setterinherited
- counts → CommentAggregates
-
no setterinherited
- creator → PersonSafe
-
no setterinherited
- creatorBannedFromCommunity → bool
-
no setterinherited
- creatorBlocked → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceHost → String
-
no setterinherited
- myVote → VoteType?
-
no setterinherited
- post → Post
-
no setterinherited
- recipient → PersonSafe?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saved → bool
-
no setterinherited
- subscribed → bool
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited