JsonString.parseUtf8 constructor

JsonString.parseUtf8(
  1. List<int> bytes
)

Parses and returns the given UTF8-encoded bytes as a string.

If parsing fails, or the result is not a string, a FormatException is thrown.

Implementation

factory JsonString.parseUtf8(List<int> bytes) => JsonValue.parseUtf8(bytes);