toPublic method
Implementation
public_types.SafetyRating toPublic() => public_types.SafetyRating(category.toPublic(),probability.toPublic());
public_types.SafetyRating toPublic() => public_types.SafetyRating(category.toPublic(),probability.toPublic());