ModTransferCommunityView constructor

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

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModTransferCommunityView({
  required ModTransferCommunity modTransferCommunity,
  required PersonSafe moderator,
  required CommunitySafe community,
  required PersonSafe moddedPerson,
  required String instanceHost,
}) = _ModTransferCommunityView;