ModLockPostView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const ModLockPostView({
  1. required ModLockPost modLockPost,
  2. required PersonSafe moderator,
  3. required Post post,
  4. required CommunitySafe community,
  5. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModLockPostView({
  required ModLockPost modLockPost,
  required PersonSafe moderator,
  required Post post,
  required CommunitySafe community,
  required String instanceHost,
}) = _ModLockPostView;