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