toReadableString function
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);
}
}
String toReadableString(dynamic x) {
if (x is BigInt) {
return 'BigInt($x)';
} else if (x is Map) {
return jsonEncode(makeBigIntToString(x));
} else {
return jsonEncode(x);
}
}