begin static method

dynamic begin(
  1. BuildContext context
)

Implementation

static begin(BuildContext context) {
  context.findAncestorStateOfType<_RebootState>()!.rebootApp();
}