toJson method
Implementation
Map<String, Object?> toJson() => {
'project': project,
'outDir': outDir,
'captures': [for (final c in captures) c.toJson()],
'elementPngs': elementPngs,
'errors': errors,
'warnings': warnings,
};