CommunityModeratorView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const CommunityModeratorView({
  1. required CommunitySafe community,
  2. required PersonSafe moderator,
  3. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory CommunityModeratorView({
  required CommunitySafe community,
  required PersonSafe moderator,
  required String instanceHost,
}) = _CommunityModeratorView;