getData abstract method

Future<Uint8List?> getData([
  1. int? maxSize = 10485760
])

Asynchronously downloads the object at the StorageReference to a list in memory.

Returns a Uint8List of the data.

If the maxSize (in bytes) is exceeded, the operation will be canceled. By default the maxSize is 10mb (10485760 bytes).

Implementation

Future<Uint8List?> getData([int? maxSize = 10485760]);