BannedPerson constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const BannedPerson({
  1. required PersonViewSafe personView,
  2. required bool banned,
  3. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory BannedPerson({
  required PersonViewSafe personView,
  required bool banned,
  required String instanceHost,
}) = _BannedPerson;