routes property

String get routes

Implementation

static String get routes {
  return i._routes
      .map((e) => e ?? '')
      .where((e) => e.isNotEmpty)
      .join(i._separator);
}
set routes (String path)

Implementation

static set routes(String path) {
  i._routes = path.split(i._separator).where((segment) {
    if (isSupportedRoute(segment)) return true;
    return segment.isNotEmpty;
  }).toList();
  i.notifyListeners();
}