getDataToEmit method

String getDataToEmit(
  1. Uint8List bytes
)

Try and parse the decrypted bytes as JSON. If we can't parse it, just return the utf-8 string

Implementation

external String getDataToEmit(Uint8List bytes);