faithoflifedev / google_vision_workspace

Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.
MIT License
20 stars 8 forks source link

SafeSearchAnnotation Json Response Object Name Incorrect #8

Closed kamaribedwarddev closed 1 year ago

kamaribedwarddev commented 1 year ago

The Json response object name for SafeSearchAnnotation should be "safeSearchAnnotation".

safeSearchAnnotation: json['safeSearchAnnotations'] == null ? null : SafeSearchAnnotation.fromJson( json['safeSearchAnnotations'] as Map<String, dynamic>),

faithoflifedev commented 1 year ago

@kamaribedwarddev, fixed in new release google_vision 1.0.7+7