StyleWebSocketService constructor
StyleWebSocketService({
- bool allowOnlyAuth = true,
Implementation
factory StyleWebSocketService({bool allowOnlyAuth = true}) {
if (allowOnlyAuth) {
return AuthWebSocketService();
}
return _StyleWebSocketService();
}