toJson method
Implementation
Map<String, dynamic> toJson() {
final collectionId = this.collectionId;
final faceMatchThreshold = this.faceMatchThreshold;
return {
if (collectionId != null) 'CollectionId': collectionId,
if (faceMatchThreshold != null) 'FaceMatchThreshold': faceMatchThreshold,
};
}