onSamplingEnd method

  1. @override
void onSamplingEnd()
override

Handler called when sampling period ends.

Implementation

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