writeRawString method

Future<void> writeRawString(
  1. String json
)

Writes a raw JSON value from a string, this string must contain a valid json encoded object.

Implementation

Future<void> writeRawString(String json) => writeRawBuffer(utf8.encode(json));