decodeBytes method

Map<String, dynamic> decodeBytes(
  1. List<int> bytes
)

Decodes UTF-8 bytes into a JSON-safe map.

Implementation

Map<String, dynamic> decodeBytes(List<int> bytes) {
  return decode(utf8.decode(bytes));
}