allowedExtensions property
read / write
This will be used to notify the user about the required extension if they select a file with the wrong extension. Elements should not include leading dots.
Implementation
late List<String> allowedExtensions;