W3cubDocs

/Dart 2

FileLock class

Type of lock when requesting a lock on a file.

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

Constants

BLOCKING_EXCLUSIVE → const FileLock
@Deprecated("Use blockingExclusive instead")
blockingExclusive
BLOCKING_SHARED → const FileLock
@Deprecated("Use blockingShared instead")
blockingShared
blockingExclusive → const FileLock
Blocking exclusive file lock.
const FileLock._internal(4)
blockingShared → const FileLock
Blocking shared file lock.
const FileLock._internal(3)
EXCLUSIVE → const FileLock
@Deprecated("Use exclusive instead")
exclusive
exclusive → const FileLock
Exclusive file lock.
const FileLock._internal(2)
SHARED → const FileLock
@Deprecated("Use shared instead")
shared
shared → const FileLock
Shared file lock.
const FileLock._internal(1)

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/FileLock-class.html