toJson method
This report as JSON.
Implementation
Map<String, Object?> toJson() => <String, Object?>{
'sceneId': sceneId,
'runMode': runMode.name,
'trustworthy': runMode.isTrustworthy,
'build': build.toJson(),
'raster': raster.toJson(),
'total': total.toJson(),
if (notes != null) 'notes': notes,
};