sendFile method

void sendFile(
  1. String dir
)

send a file as stream

Implementation

void sendFile(String dir) => writer = FileStreamResponse(dir);