W3cubDocs

/Dart 2

readyState property

int readyState
final

Indicator of the current state of the request:

Value State Meaning
0 unsent open() has not yet been called
1 opened send() has not yet been called
2 headers received sent() has been called; response headers and status are available
3 loading responseText holds some data
4 done request is complete

Implementation

final int readyState

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/HttpRequest/readyState.html