allowedExtensions specifies the list of allowed file extensions
final List<String>? allowedExtensions;