toMap method
Implementation
Map<String, Object?> toMap() => <String, Object?>{
"mode": mode.name,
"camera": camera.name,
"planeDetection": planeDetection.name,
"planeStyle": planeStyle.name,
"planeColor": planeColor.toARGB32(),
"showFeaturePoints": showFeaturePoints,
"showWorldOrigin": showWorldOrigin,
"showAnchors": showAnchors,
"showSceneMesh": showSceneMesh,
"occlusion": occlusion,
"peopleOcclusion": peopleOcclusion,
"sceneReconstruction": sceneReconstruction.name,
"lightEstimation": lightEstimation.name,
"focusMode": focusMode.name,
"instantPlacement": instantPlacement,
"reticle": reticle,
"reticleColor": reticleColor.toARGB32(),
"coaching": coaching,
"coachingGoal": coachingGoal.name,
"images": images.map((UArReferenceImage image) => image.toMap()).toList(growable: false),
"maxTrackedImages": maxTrackedImages,
"objects": objects.map((UArReferenceObject object) => object.toMap()).toList(growable: false),
"geoMode": geoMode.name,
"cloudAnchors": cloudAnchors,
"semantics": semantics,
"showFaceMesh": showFaceMesh,
"faceMeshColor": faceMeshColor.toARGB32(),
"collaboration": collaboration,
"worldMap": worldMap,
"worldAlignment": worldAlignment.name,
"shadows": shadows,
"shadowOpacity": shadowOpacity,
"exposure": exposure,
"environmentIntensity": environmentIntensity,
"background": background.toARGB32(),
"transparentBackground": transparentBackground,
"orbit": orbit.toMap(),
"eventRate": eventRate,
"highFps": highFps,
};