CommentReportView class

Annotations
  • @freezed

Constructors

CommentReportView({required CommentReport commentReport, required Comment comment, required Post post, required CommunitySafe community, required PersonSafe creator, required PersonSafe commentCreator, required bool creatorBannedFromCommunity, VoteType? myVote, required CommentAggregates counts, PersonSafe? resolver, required String instanceHost})
const
factory
CommentReportView.fromJson(Map<String, dynamic> json)
factory

Properties

comment Comment
no setterinherited
commentCreator PersonSafe
no setterinherited
commentReport CommentReport
no setterinherited
community CommunitySafe
no setterinherited
copyWith → $CommentReportViewCopyWith<CommentReportView>
no setterinherited
counts CommentAggregates
no setterinherited
creator PersonSafe
no setterinherited
creatorBannedFromCommunity 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
resolver PersonSafe?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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