readyState property
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
int get readyState native;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/HttpRequest/readyState.html