instance property
NsfwDetector
get
instance
Returns the singleton instance, throwing if not yet initialized.
Implementation
static NsfwDetector get instance {
if (_instance == null) {
throw StateError(
'NsfwDetector not initialized. Call NsfwDetector.initialize() first.',
);
}
return _instance!;
}