PostReportView class

Annotations
  • @freezed

Constructors

PostReportView({required PostReport postReport, required Post post, required CommunitySafe community, required PersonSafe creator, required PersonSafe postCreator, required bool creatorBannedFromCommunity, VoteType? myVote, required PostAggregates counts, PersonSafe? resolver, required String instanceHost})
const
factory
PostReportView.fromJson(Map<String, dynamic> json)
factory

Properties

community CommunitySafe
no setterinherited
copyWith → $PostReportViewCopyWith<PostReportView>
no setterinherited
counts PostAggregates
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
postCreator PersonSafe
no setterinherited
postReport PostReport
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