userAgent property
User agent for websockets on dart:io, set globally on WebSocket.userAgent.
Null (default) leaves the app's user agent untouched. Pass RequestDefaults.DEFAULT_USER_AGENT to identify as NDK.
Implementation
String? userAgent;
User agent for websockets on dart:io, set globally on WebSocket.userAgent.
Null (default) leaves the app's user agent untouched. Pass RequestDefaults.DEFAULT_USER_AGENT to identify as NDK.
String? userAgent;