AddAdmin constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const AddAdmin({
  1. required int personId,
  2. required bool added,
  3. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory AddAdmin({
  required int personId,
  required bool added,
  required String auth,
}) = _AddAdmin;