ModStickyPostView constructor

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

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModStickyPostView({
  required ModStickyPost modStickyPost,
  required PersonSafe moderator,
  required Post post,
  required CommunitySafe community,
  required String instanceHost,
}) = _ModStickyPostView;