download abstract method
Implementation
Future<Either<NetworkError, dynamic>> download({
required String url,
required String downloadPath,
required String fileName,
Map<String, dynamic>? queryParameter,
Map<String, dynamic>? header,
Function(int, int)? onReceiveProgress,
});