init method
Implementation
void init(MethodChannel methodChannel, int viewId) {
_methodChannel = methodChannel;
_viewId = viewId;
_applyThresholds();
}
void init(MethodChannel methodChannel, int viewId) {
_methodChannel = methodChannel;
_viewId = viewId;
_applyThresholds();
}