Route constructor
Route({
- required String name,
- required RouteRule rule,
- required Service target,
- int priority = 0,
- Authenticator? authenticator,
- Authorizer? authorizer,
- ConnectionAuthenticator? connectionAuthenticator,
Creates a route.
Implementation
Route({
required this.name,
required this.rule,
required this.target,
this.priority = 0,
this.authenticator,
this.authorizer,
this.connectionAuthenticator,
});