OnReceive typedef
OnReceive =
void Function(Object? data)
Data received call back. data: the content. Either a string (json) or Uint8List (binary)
Implementation
typedef OnReceive = void Function(Object? data);
Data received call back. data: the content. Either a string (json) or Uint8List (binary)
typedef OnReceive = void Function(Object? data);