Make route handler constant
This commit is contained in:
parent
8e99c535bd
commit
45949890cc
|
@ -17,7 +17,7 @@ enum HandlerType {
|
|||
|
||||
///
|
||||
class Handler {
|
||||
Handler({this.type = HandlerType.route, this.handlerFunc});
|
||||
const Handler({this.type = HandlerType.route, this.handlerFunc});
|
||||
final HandlerType type;
|
||||
final HandlerFunc handlerFunc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue