convert method
value as JSON bytes.
Throws a JsonUnsupportedObjectError for a value that is not a JSON
value, and a JsonCyclicError for a value that holds itself.
Implementation
Uint8List convert(Object? value) {
if (_busy || _lent != null) return _fresh().convert(value);
return Uint8List.fromList(_encode(value));
}