jsonByteLength function

int jsonByteLength(
  1. Object? value
)

Byte JSON thu gọn của value.

Implementation

int jsonByteLength(Object? value) => utf8.encode(jsonEncode(value)).length;