concept file content in category dart

appears as: file content, The file content, file content
Dart in Action

This is an excerpt from Manning's book Dart in Action.

13.3.2. Sending the file content as JSON data

The file content is equally similar to the DirectoryLister command-line application that you built earlier in the chapter. You use the FileContentHandler class to match on a path prefix of /fileContent, extract the filename that follows, read the file’s content as text, and return the text wrapped as a JSON string.