You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
APPEND = FileMode.APPEND
The mode for opening a file for reading and writing to the end of it. The file is created if it does not already exist.
It should be marked as const because actually it's a constant and cannot be changed.
So, description should look loke one for FileMode.APPEND field: dynamic APPEND = **const** FileMode._internal(2)
See here: https://api.dartlang.org/stable/1.24.3/dart-io/APPEND-constant.html
Some other fields from dart:io Constants section in the Spec are also not marked const: READ, WRITE, WRITE_ONLY, WRITE_ONLY_APPEND.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
dart:io APPEND Spec reads:
It should be marked as const because actually it's a constant and cannot be changed.
So, description should look loke one for
FileMode.APPEND
field:dynamic APPEND = **const** FileMode._internal(2)
See here: https://api.dartlang.org/stable/1.24.3/dart-io/APPEND-constant.html
Some other fields from dart:io Constants section in the Spec are also not marked
const
: READ, WRITE, WRITE_ONLY, WRITE_ONLY_APPEND.The text was updated successfully, but these errors were encountered: