toJson method
Implementation
Map<String, Object?> toJson() {
final changed = this.changed;
final left = this.left;
return {
if (changed != null) 'changed': changed.map((v) => v).toList(),
if (left != null) 'left': left.map((v) => v).toList(),
};
}