5. Enabling Detections
import 'package:sentiance_core/sentiance_core.dart';
final sentiance = SentianceCore();
void enableSentianceDetections() async {
try {
await sentiance.enableDetections();
print("Detections are now enabled.");
} on EnableDetectionsError catch (e) {
print('Failed to enable detections, reason: ${e.reason}');
} catch (e) {
print(e);
}
}Last updated