dart-backend / angel

A polished, production-ready backend framework in Dart for the VM, AOT, and Flutter.
https://github.com/dukefirehawk/angel
BSD 3-Clause "New" or "Revised" License
171 stars 22 forks source link

Update angel3_hot.dart #12

Closed ghost closed 2 years ago

ghost commented 2 years ago

Removed excess '!' operation which caused the following error message,

Warning: Operand of null-aware operation '!' has type 'AngelWebSocket' which excludes null.
../…/lib/angel3_hot.dart:362
- 'AngelWebSocket' is from 'package:angel3_websocket/server.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/angel3_websocket-4.1.2/lib/server.dart').
package:angel3_websocket/server.dart:1
          var ws = _server!.app.container!.make<AngelWebSocket>()!;