startTime static method

dynamic startTime(
  1. BuildContext context
)

Implementation

static startTime(BuildContext context) async {
  var _duration = new Duration(seconds: 2);
  return new Timer(_duration, checkUserLogin(context));
}