BanFromCommunity constructor
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const
BanFromCommunity(
{
- required int personId,
- required bool ban,
- bool? removeData,
- String? reason,
- int? expires,
- required String auth,
})
Implementation
@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory BanFromCommunity({
required int communityId,
required int personId,
required bool ban,
bool? removeData,
String? reason,
int? expires,
required String auth,
}) = _BanFromCommunity;