setPosition method

  1. @override
Future<RandomAccessFile> setPosition(
  1. int position
)
override

Sets the byte position in the file.

Returns a Future<RandomAccessFile> that completes with this random access file when the position has been set.

Implementation

@override
Future<io.RandomAccessFile> setPosition(int position) async {
  await delegate.setPosition(position);
  return this;
}