FlutterHttpRequestStreamSubscription class
Methods
-
asFuture<E>([E? futureValue])
→ Future<E>
-
Returns a future that handles the onDone and onError callbacks.
override
-
cancel()
→ Future
-
Cancels this subscription.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onData(void handleData(dynamic data)?)
→ void
-
Replaces the data event handler of this subscription.
override
-
onDone(void handleDone()?)
→ void
-
Replaces the done event handler of this subscription.
override
-
onError(Function? handleError)
→ void
-
Replaces the error event handler of this subscription.
override
-
pause([Future? resumeSignal])
→ void
-
Requests that the stream pauses events until further notice.
override
-
resume()
→ void
-
Resumes after a pause.
override
-
toString()
→ String
-
A string representation of this object.
inherited