toReadableString function

String toReadableString(
  1. dynamic x
)

Implementation

String toReadableString(dynamic x) {
  if (x is BigInt) {
    return 'BigInt($x)';
  } else if (x is Map) {
    return jsonEncode(makeBigIntToString(x));
  } else {
    return jsonEncode(x);
  }
}