toPublic method

SafetyRating toPublic()

Implementation

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