BanPerson constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const BanPerson({
  1. required int personId,
  2. required bool ban,
  3. bool? removeData,
  4. String? reason,
  5. int? expires,
  6. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory BanPerson({
  required int personId,
  required bool ban,
  bool? removeData,
  String? reason,
  int? expires,
  required String auth,
}) = _BanPerson;