ModAddCommunityView constructor

const ModAddCommunityView({
  1. @JsonKey.new(name: 'mod_add_community') required ModAddCommunity modAddCommunity,
  2. Person? moderator,
  3. Community? community,
  4. @JsonKey.new(name: 'modded_person') Person? moddedPerson,
})

Implementation

const factory ModAddCommunityView({
  @JsonKey(name: 'mod_add_community') required ModAddCommunity modAddCommunity,
  Person? moderator,
  Community? community,
  @JsonKey(name: 'modded_person') Person? moddedPerson,
}) = _ModAddCommunityView;