JsonNumber.parseUtf8 constructor

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

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

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

Implementation

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