aRPlaneAnchorToJson function

Map<String, dynamic> aRPlaneAnchorToJson(
  1. ARPlaneAnchor instance
)

Serializes an ARPlaneAnchor

Implementation

Map<String, dynamic> aRPlaneAnchorToJson(ARPlaneAnchor instance) {
  return <String, dynamic>{
    'type': instance.type.index,
    'transformation': MatrixConverter().toJson(instance.transformation),
    'name': instance.name,
    'childNodes': instance.childNodes,
    'cloudanchorid': instance.cloudanchorid,
    'ttl': instance.ttl,
  };
}