toHuman method

String toHuman()

Implementation

String toHuman() {
  final converted = _convertToJsonRecursive(this);
  if (converted is List || converted is Map) {
    return jsonEncode(
      converted,
      // handle BigInt and other special types
      toEncodable: _encodeJson,
    );
  }
  return converted.toString();
}