EditCommunity constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const EditCommunity({
  1. required int communityId,
  2. String? title,
  3. String? description,
  4. String? icon,
  5. String? banner,
  6. bool? nsfw,
  7. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory EditCommunity({
  required int communityId,
  String? title,
  String? description,
  String? icon,
  String? banner,
  bool? nsfw,
  required String auth,
}) = _EditCommunity;