fileLength function

int fileLength(
  1. String pathToFile
)

Returns the length of the file at pathToFile in bytes.

Implementation

int fileLength(String pathToFile) => waitForEx(
    // ignore: discarded_futures
    core.fileLength(pathToFile));