Modlog class

Annotations
  • @freezed

Constructors

Modlog({required List<ModRemovePostView> removedPosts, required List<ModLockPostView> lockedPosts, required List<ModStickyPostView> stickiedPosts, required List<ModRemoveCommentView> removedComments, required List<ModRemoveCommunityView> removedCommunities, required List<ModBanFromCommunityView> bannedFromCommunity, required List<ModBanView> banned, required List<ModAddCommunityView> addedToCommunity, required List<ModTransferCommunityView> transferredToCommunity, required List<ModAddView> added, required String instanceHost})
const
factory
Modlog.fromJson(Map<String, dynamic> json)
factory

Properties

added List<ModAddView>
no setterinherited
addedToCommunity List<ModAddCommunityView>
no setterinherited
banned List<ModBanView>
no setterinherited
bannedFromCommunity List<ModBanFromCommunityView>
no setterinherited
copyWith → $ModlogCopyWith<Modlog>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
instanceHost String
no setterinherited
lockedPosts List<ModLockPostView>
no setterinherited
removedComments List<ModRemoveCommentView>
no setterinherited
removedCommunities List<ModRemoveCommunityView>
no setterinherited
removedPosts List<ModRemovePostView>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stickiedPosts List<ModStickyPostView>
no setterinherited
transferredToCommunity List<ModTransferCommunityView>
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