CreateCommunity constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const CreateCommunity({
  1. required String name,
  2. required 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 CreateCommunity({
  required String name,
  required String title,
  String? description,
  String? icon,
  String? banner,
  bool? nsfw,
  required String auth,
}) = _CreateCommunity;