run method Null safety

Future run()

Implementation

Future run() async {
  state = JobState.running;
  await _job();
}