RouteDefinition.from constructor
RouteDefinition.from(
- ConstantReader annotation
Implementation
factory RouteDefinition.from(ConstantReader annotation) {
return RouteDefinition(
uri: annotation.get("uri"),
widgetType: annotation.get("widgetType"),
returns: annotation.get("returns"),
ctor: annotation.get("ctor"),
handler: annotation.get("handler"),
params: annotation.get("params"),
name: annotation.get("name"));
}