UISwitch.as constructor

UISwitch.as(
  1. ObjCObject other
)

Constructs a UISwitch that points to the same underlying object as other.

Implementation

UISwitch.as(objc.ObjCObject other) : object$ = other {
  objc.checkOsVersionInternal('UISwitch', iOS: (false, (2, 0, 0)));
  assert(isA(object$));
}