Index: samples/chat/chat_server_lib.dart |
diff --git a/samples/chat/chat_server_lib.dart b/samples/chat/chat_server_lib.dart |
index 109a6450c202dcbba541de54d055fe8bca003d4d..191c03404af471c1cd9c9066311e82c3adff9b1d 100644 |
--- a/samples/chat/chat_server_lib.dart |
+++ b/samples/chat/chat_server_lib.dart |
@@ -257,7 +257,7 @@ class ChatServerStatus { |
ChatServerStatus.started(this._port) : _state = STARTED; |
ChatServerStatus.stopping() : _state = STOPPING; |
ChatServerStatus.stopped() : _state = STOPPED; |
- ChatServerStatus.error([this._error]) : _state = ERROR; |
+ ChatServerStatus.error2([this._error]) : _state = ERROR; |
bool get isStarting => _state == STARTING; |
bool get isStarted => _state == STARTED; |