class WXSwitch extends WXComponent<WXSwitchView> {

  @Override
  protected boolean setProperty(String key, Object param) {
    switch (key) {
      case Constants.Name.CHECKED:
        Boolean result = WXUtils.getBoolean(param, null);
        if (result != null) {
          setChecked(result);
        }
        return true;
    }
    return super.setProperty(key, param);
  }

  @Deprecated public  WXSwitch(WXSDKInstance instance, WXVContainer parent, String instanceId, boolean isLazy, BasicComponentData basicComponentData);
  public  WXSwitch(final WXSDKInstance instance, WXVContainer parent, boolean isLazy, BasicComponentData basicComponentData);

}