platform/packages/route/lib/src/symlink_route.dart
thomashii@dukefirehawk.com 7c37497860 Publish angel3_route
2021-05-14 15:02:50 +08:00

9 lines
276 B
Dart

part of angel3_route.src.router;
/// Placeholder [Route] to serve as a symbolic link
/// to a mounted [Router].
class SymlinkRoute<T> extends Route<T> {
final Router<T> router;
SymlinkRoute(String path, this.router)
: super(path, method: 'GET', handlers: <T>[]);
}