onError property Null safety

(dynamic Function(String error, String versionId, List<List> etagList)?) onError
final

onError that would be called when an error is encountered It returns the error, the version id of the file and the etagList that has been uploaded sofar

Implementation

final Function(String error, String versionId, List<List<dynamic>> etagList)?
    onError;