SafetySetting constructor

const SafetySetting({
  1. required HarmCategory category,
  2. required HarmBlockThreshold threshold,
})

Implementation

const SafetySetting({
  required this.category,
  required this.threshold,
});