length abstract method Null safety

Future<int> length()

Gets the length of the file.

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

Implementation

Future<int> length();