onSamplingEnd method

  1. @override
void onSamplingEnd()
override

Handler called when sampling period ends.

Implementation

@override
void onSamplingEnd() {
  sensorEndTime = DateTime.now().microsecondsSinceEpoch;
}