initWithImage method

UIImageView initWithImage(
  1. UIImage? image
)

initWithImage:

Implementation

UIImageView initWithImage(UIImage? image) {
  final _$$ref = object$.ref;
  final _$$ref$1 = image?.ref;
  objc.checkOsVersionInternal('UIImageView.initWithImage:', iOS: (false, (2, 0, 0)));
  final $ret = _objc_msgSend_1sotr3r(
    _$$ref.retainAndReturnPointer(),
    _sel_initWithImage_,
    _$$ref$1?.pointer ?? ffi.nullptr,
  );
  return UIImageView.fromPointer($ret, retain: false, release: true);
}