toJson method
Implementation
Map<String, Object?> toJson() => {
'entryId': entryId,
'frame': frame,
'nodes': nodes,
'hashMicros': hashMicros,
if (structureChanged) 'structure': true,
if (resized) 'resized': true,
if (scrolled) 'scrolled': true,
if (geometry case var box?) 'geometry': box.toJson(),
};