EditCommunity constructor

const EditCommunity({
  1. @JsonKey.new(name: 'community_id') required int communityId,
  2. String? title,
  3. String? description,
  4. String? icon,
  5. String? banner,
  6. @JsonKey.new(name: 'nsfw') bool? nsfw,
  7. required String auth,
})

Implementation

const factory EditCommunity({
  @JsonKey(name: 'community_id') required int communityId,
  String? title,
  String? description,
  String? icon,
  String? banner,
  @JsonKey(name: 'nsfw') bool? nsfw,
  required String auth,
}) = _EditCommunity;