size property

Future<int> get size

Implementation

Future<int> get size async =>
    isFile ? (await file!.stat()).size : bytes!.length;