open static method

Future<RarFile> open(
  1. String filePath
)

Opens the RAR archive at the specified filePath.

Returns a RarFile instance that can be used to read and extract files. Throws a RarException if the file cannot be opened, has an invalid signature, or fails header parsing.

Implementation

static Future<RarFile> open(String filePath) {
  return RarFileImpl.open(filePath);
}