Closed lukechi1219 closed 8 years ago
method name "interrupt" has changed to "abort"
and to us Optional named parameters, may should use {param1, param2, …}
eg: Future abort(int statusCode); become Future abort({int statusCode});
ref: https://github.com/redstone-dart/redstone/blob/v0.6/lib/src/request.dart https://github.com/redstone-dart/redstone/blob/v0.6/lib/src/router.dart
Thanks a lot!
method name "interrupt" has changed to "abort"
and to us Optional named parameters, may should use {param1, param2, …}
eg: Future abort(int statusCode);
become
Future abort({int statusCode});
ref: https://github.com/redstone-dart/redstone/blob/v0.6/lib/src/request.dart https://github.com/redstone-dart/redstone/blob/v0.6/lib/src/router.dart