PhoneSensorMeasure constructor Null safety

PhoneSensorMeasure(
  1. {required String type,
  2. int? duration}
)

Implementation

PhoneSensorMeasure({required String type, this.duration}) : super(type: type);