SafetySetting constructor

SafetySetting({
  1. required HarmCategory category,
  2. required SafetySetting_HarmBlockThreshold threshold,
  3. SafetySetting_HarmBlockMethod method = SafetySetting_HarmBlockMethod.$default,
})

Implementation

SafetySetting({
  required this.category,
  required this.threshold,
  this.method = SafetySetting_HarmBlockMethod.$default,
}) : super(fullyQualifiedName);