task property
NSURLSessionTask?
get
task
task
Implementation
NSURLSessionTask? get task {
objc.checkOsVersionInternal(
'NSURLProtocol.task',
iOS: (false, (8, 0, 0)),
macOS: (false, (10, 10, 0)),
);
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_task);
return _ret.address == 0
? null
: NSURLSessionTask.castFromPointer(_ret, retain: true, release: true);
}