string property
String?
string
The string associated with the WebSocket message.
Will be null
if the URLSessionWebSocketMessage is a data message.
Implementation
String? get string => toStringOrNull(_nsObject.string);