FileFetcher.basePath constructor
Create a file fetcher with base path
, normally refering to a directory.
Optionally charset encoding
or contentType
can be set to specify those
attributes of files accessed by this client.
Implementation
factory FileFetcher.basePath(
String path, {
Encoding encoding = utf8,
String? contentType,
}) =>
FileFetcher._(path, encoding, contentType);