hasBackend static method
Returns true if backend is available
Implementation
static bool hasBackend(VideoCaptureAPIs api) {
final p = calloc<ffi.Bool>();
cvRun(() => cvg.cv_video_registry_hasBackend(api.value, p));
final rval = p.value;
calloc.free(p);
return rval;
}