allowImages method
Returns true if any of the allowedExtensions is for the image
Implementation
bool allowImages() {
return allowedExtensions.isEmpty || allowedExtensions.intersection(<String>{'jpg', 'jpeg', 'png'}).isNotEmpty;
}
Returns true if any of the allowedExtensions is for the image
bool allowImages() {
return allowedExtensions.isEmpty || allowedExtensions.intersection(<String>{'jpg', 'jpeg', 'png'}).isNotEmpty;
}