Dart API Reference
dart:io
FileLock
FileLock
enum
Type of lock when requesting a lock on a file.
Type of lock when requesting a lock on a file.
Constants
values
=
const List<FileLock>
A constant List of the values in this enum, in order of their declaration
SHARED
=
const FileLock(1)
Shared file lock.
EXCLUSIVE
=
const FileLock(2)
Exclusive file lock.
Instance Properties
index
int
read-only