usage method
The total size of the files on this disk, in bytes.
Implementation
Future<int> usage() async {
int total = 0;
for (final DiskEntry entry in await list('', true)) {
if (entry.isFile) total += entry.size ?? 0;
}
return total;
}