AddModToCommunity constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const AddModToCommunity({
  1. required int communityId,
  2. required int personId,
  3. required bool added,
  4. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory AddModToCommunity({
  required int communityId,
  required int personId,
  required bool added,
  required String auth,
}) = _AddModToCommunity;