restart method

Future<bool> restart()

Restarts this formula, calling stop() than start().

Implementation

Future<bool> restart() async {
  await stop();
  return start();
}