Dart API Referencedart:ioMessageEvent

MessageEvent Interface

Event delivered when there is data on a web socket connection.

Extends

Event

Methods

Code get data() #

The type of message is either String or List<int> depending on whether it is a text or binary message. If the message is empty message will be null

get data();