FullPersonView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const FullPersonView({
  1. required PersonViewSafe personView,
  2. required List<CommunityModeratorView> moderates,
  3. required List<CommentView> comments,
  4. required List<PostView> posts,
  5. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory FullPersonView({
  required PersonViewSafe personView,
  required List<CommunityModeratorView> moderates,
  required List<CommentView> comments,
  required List<PostView> posts,
  required String instanceHost,
}) = _FullPersonView;