unwrapFileRef function

Future<RandomAccessFile> unwrapFileRef(
  1. FileRef ref
)

Implementation

Future<RandomAccessFile> unwrapFileRef(FileRef ref) => ref is _RandomAccessFileRef ? new Future.value(ref._f) : new Future.error("Not a valid FileRef: $ref");