routeParam property

String? get routeParam

Primary route parameter from URL path. Returns null if none. For route '/book/:bookId' navigated as '/book/abc123', returns 'abc123'. Usage: String? id = Sint.routeParam;

Implementation

String? get routeParam {
  if (_shouldUseMock) return SintTestMode.routeParam;
  return rootController.rootDelegate.routeParam;
}