onStart method

  1. @override
void onStart(
  1. BuildContext context
)
override

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));
}