FileDataCallback typedef

FileDataCallback = void Function(ByteBuffer, bool)

Success callback for the onReadFileRequested event. If more data will be returned, then hasMore must be true, and it has to be called again with additional entries. If no more data is available, then hasMore must be set to false.

Implementation

typedef FileDataCallback = void Function(
  ByteBuffer,
  bool,
);