knownRoutes property

Set<String> knownRoutes
getter/setter pair

The routes this application actually has, for validating a restored workspace.

Empty means "not known", and restore then keeps everything it stored: nothing has told the runtime which routes exist, so dropping tabs on a guess would lose a workspace. The generated router is what fills this.

Implementation

static Set<String> knownRoutes = const <String>{};