Static.directory constructor
Static.directory({})
Create a new static from a directory.
Implementation
factory Static.directory({
required String directory,
Iterable<String> defaultFiles = const <String>[],
String? prefix,
}) =>
Static(
directories: [directory],
defaultFiles: defaultFiles,
prefix: prefix,
);