Dart API Reference
dart:html
WebSocket
close
close
method
void
close
(
[
int
code
,
String
reason
]
)