toJson method
Encodes this value as a JSON object.
Implementation
Map<String, Object?> toJson() => <String, Object?>{
'outcome': outcome,
'source': source.toJson(),
'condition': condition.toJson(),
'elapsedMs': elapsedMs,
if (semanticsIdentifier != null)
'semanticsIdentifier': semanticsIdentifier!,
if (nodeId != null) 'nodeId': nodeId!,
if (generation != null) 'generation': generation!,
if (value != null) 'value': value!,
if (destinationId != null) 'destinationId': destinationId!,
if (navigationRevision != null) 'navigationRevision': navigationRevision!,
if (treeRevision != null) 'treeRevision': treeRevision!,
'frameRevision': frameRevision,
};