FilesPolicy constructor
FilesPolicy({
- Iterable<
FilePathRule> paths = const [],
Implementation
FilesPolicy({Iterable<FilePathRule> paths = const []}) : paths = List.unmodifiable(paths) {
if (this.paths.length > 1000) throw ArgumentError('Too many file policy paths');
}