toPublic method

SafetySetting toPublic()

Implementation

public_types.SafetySetting toPublic(){
  return public_types.SafetySetting(harmCategory: category.toPublic(), threshold: threshold.toPublic());
}