toString method Null safety
override
Serializes this LCObject to a JSON string.
Implementation
String toString() {
if (_LCBatch.hasCircleReference(this)) {
throw new ArgumentError('Found a circle dependency when serialize.');
}
return jsonEncode(_LCEncoder.encode(this, full: true));
}