state property

The current state of the task.

See NSURLSessionTask.state

Implementation

URLSessionTaskState get state => URLSessionTaskState.values[_nsObject.state];