imageWithContentsOfFile static method

UIImage? imageWithContentsOfFile(
  1. NSString path
)

imageWithContentsOfFile:

Implementation

static UIImage? imageWithContentsOfFile(objc.NSString path) {
  objc.checkOsVersionInternal('UIImage.imageWithContentsOfFile:', iOS: (false, (2, 0, 0)));
  final $ret = _objc_msgSend_1sotr3r(_class_UIImage, _sel_imageWithContentsOfFile_, path.ref.pointer);
  return $ret.address == 0 ? null : UIImage.fromPointer($ret, retain: true, release: true);
}