Route constructor

Route({
  1. required String name,
  2. required RouteRule rule,
  3. required Service target,
  4. int priority = 0,
  5. Authenticator? authenticator,
  6. Authorizer? authorizer,
  7. 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,
});