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