inputStreamWithURL static method

DartInputStreamAdapter? inputStreamWithURL(
  1. NSURL url
)
override

inputStreamWithURL:

Implementation

static DartInputStreamAdapter? inputStreamWithURL(NSURL url) {
  objc.checkOsVersionInternal(
    'DOBJCDartInputStreamAdapter.inputStreamWithURL:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 6, 0)),
  );
  final $ret = _objc_msgSend_1sotr3r(
    _class_DOBJCDartInputStreamAdapter,
    _sel_inputStreamWithURL_,
    url.ref.pointer,
  );
  return $ret.address == 0
      ? null
      : DartInputStreamAdapter.fromPointer($ret, retain: true, release: true);
}