PersonMentionView class

Annotations
  • @freezed

Constructors

PersonMentionView({required PersonMention personMention, required Comment comment, required PersonSafe creator, required Post post, required CommunitySafe community, required PersonSafe recipient, required CommentAggregates counts, required bool creatorBannedFromCommunity, required String subscribed, required bool saved, required bool creatorBlocked, VoteType? myVote, required String instanceHost})
const
factory
PersonMentionView.fromJson(Map<String, dynamic> json)
factory

Properties

comment Comment
no setterinherited
community CommunitySafe
no setterinherited
copyWith → $PersonMentionViewCopyWith<PersonMentionView>
Create a copy of PersonMentionView with the given fields replaced by the non-null parameter values.
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
personMention PersonMention
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 String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this PersonMentionView to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited