addFile method
Sends length bytes of the file at path from start as the body
of res. null when the server can not do it: Dart streams the file.
Implementation
@override
Future<void>? addFile(HttpResponse res, String path, int start, int length) =>
res is NativeResponse
? res.addFile(path, start: start, length: length)
: null;