toJSON method
Implementation
@override
Map<String, dynamic> toJSON({Object3dMeta? meta}) {
Map<String, dynamic> output = super.toJSON(meta: meta);
Map<String, dynamic> object = output["object"];
object["fov"] = fov;
object["zoom"] = zoom;
object["near"] = near;
object["far"] = far;
object["focus"] = focus;
object["aspect"] = aspect;
if (view != null) object["view"] = json.decode(json.encode(view));
object["filmGauge"] = filmGauge;
object["filmOffset"] = filmOffset;
return output;
}