onStart method
Resume sensing for 10 seconds, whereafter it is paused automatically.
Implementation
@override
void onStart(BuildContext context) {
super.onStart(context);
Timer(Duration(seconds: 10), () => super.onDone(context));
}
Resume sensing for 10 seconds, whereafter it is paused automatically.
@override
void onStart(BuildContext context) {
super.onStart(context);
Timer(Duration(seconds: 10), () => super.onDone(context));
}