onSamplingStart method
Handler called when sampling period starts.
Implementation
@override
void onSamplingStart() {
_sensorStartTime = DateTime.now().microsecondsSinceEpoch;
_luxValues.clear();
}
Handler called when sampling period starts.
@override
void onSamplingStart() {
_sensorStartTime = DateTime.now().microsecondsSinceEpoch;
_luxValues.clear();
}