declaredViews property

Iterable<String> get declaredViews

The distinct view names the contract declares (routes + states).

Implementation

Iterable<String> get declaredViews => {
  for (final route in declaredRoutes) route.view,
  ...stateBindings.keys,
};