ModAddCommunityView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const ModAddCommunityView({
  1. required ModAddCommunity modAddCommunity,
  2. required PersonSafe moderator,
  3. required CommunitySafe community,
  4. required PersonSafe moddedPerson,
  5. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModAddCommunityView({
  required ModAddCommunity modAddCommunity,
  required PersonSafe moderator,
  required CommunitySafe community,
  required PersonSafe moddedPerson,
  required String instanceHost,
}) = _ModAddCommunityView;