ViolationSetting constructor Null safety

ViolationSetting(
  1. {required ViolationSettingName name,
  2. required num threshold}
)

Implementation

ViolationSetting({required this.name, required this.threshold});