paramterMiddleware property

Map<String, Reference> get paramterMiddleware

Get paramter middleware.

Implementation

Map<String, Reference> get paramterMiddleware {
  final Map<String, Reference> middleware = {};

  for (final MapEntry<String, String> entry
      in segmentDocument.paramsMiddleware.entries) {
    middleware[entry.key] =
        refer('middleware', relative(entry.value, from: rootDirectory));
  }

  return middleware;
}