HumanDetectionException.fromPlatformException constructor
HumanDetectionException.fromPlatformException(
- dynamic e
Creates a HumanDetectionException from a platform exception.
Implementation
factory HumanDetectionException.fromPlatformException(dynamic e) {
if (e is HumanDetectionException) return e;
return HumanDetectionException(e.toString(), details: e);
}