Future<int> length()

Gets the length of the file. Returns a Future<int> that completes with the length in bytes.

Source

Future<int> length();