route.function constructor

const route.function(
  1. Function? handler, {
  2. Type? returns,
  3. Type? params,
  4. String? name,
  5. String? uri,
  6. Map<String, String> paramTypeOverrides = const {},
})

Implementation

const route.function(this.handler,
    {this.returns,
    this.params,
    this.name,
    this.uri,
    this.paramTypeOverrides = const {}})
    : widgetType = null,
      ctor = null;