Make route handler constant

This commit is contained in:
Michael Pfaff 2020-04-20 16:59:39 -04:00
parent 8e99c535bd
commit 45949890cc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}