randomAccessFile property

Future<ResourceTry<RandomAccessFile>> get randomAccessFile

Implementation

Future<ResourceTry<RandomAccessFile>> get randomAccessFile async =>
    _randomAccessFile ??= await catching(() => file.open());