supportsImageSource method
Returns true if the implementation supports source
.
Defaults to true for the original image sources, gallery
and camera
,
for backwards compatibility.
Implementation
bool supportsImageSource(ImageSource source) {
return source == ImageSource.gallery || source == ImageSource.camera;
}