Flock class

Annotations
  • @immutable

Constructors

Flock({required int l_type, required int l_whence, required int l_start, required int l_len, int l_pid = 0})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
l_len int
Number of bytes to lock
final
l_pid int
PID of process blocking our lock (set by F_GETLK and F_OFD_GETLK)
final
l_start int
Starting offset for lock
final
l_type int
Type of lock: F_RDLCK, F_WRLCK, F_UNLCK
final
l_whence int
How to interpret l_start: SEEK_SET, SEEK_CUR, SEEK_END
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override