API Documentation for toMap.
Map<String, Object?> toMap() => <String, Object?>{ 'top': boundingBoxTop, 'left': boundingBoxLeft, 'smile': smileProb, };