size property

  1. @override
Future<int> get size
override

Size of the file.

Implementation

@override
Future<int> get size async {
  final size = _size;
  if (size != null) {
    return size;
  }

  final resolvedBlob = await _resolvedBlob;
  return resolvedBlob.size;
}