allowedExtensions property
The set of allowed file extensions for output assets.
The writing methods writeAsBytes and writeAsString will throw an error when attempting to write an asset not part of the allowedExtensions.
Implementation
Set<String> get allowedExtensions;