unlock abstract method

Future<RandomAccessFile> unlock([int start = 0, int end = -1 ])

Unlocks the file or part of the file.

Unlocks the byte range from start to end of the file, with the byte at position end not included. If no arguments are specified, the full file is unlocked, If only start is specified the file is unlocked from byte position start to the end of the file.

NOTE file locking does have slight differences in behavior across platforms:

See lock for more details.

Source

Future<RandomAccessFile> unlock([int start = 0, int end = -1]);

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