init method
Implementation
void init(MethodChannel methodChannel, int viewId) {
_methodChannel = methodChannel;
_viewId = viewId;
_invoke('setThresholds', {
'confidenceThreshold': _confidenceThreshold,
'iouThreshold': _iouThreshold,
'numItemsThreshold': _numItemsThreshold,
});
}