toJson method
Implementation
Map<String, dynamic> toJson() => {
'uuid': uuid,
'position': position.toJson(),
'points': points.map((point) => point.toJson()).toList(),
'width': width,
'height': height,
'confidence': confidence.name,
'openings': openings.map((item) => item.toJson()).toList(),
'dimensions': dimensions?.toJson(),
'transform': transform?.storage.toList(),
};