exception property

PlatformException? exception

The exception of the last pickImage or pickVideo.

If the last pickImage or pickVideo threw some exception before the MainActivity destruction, this variable keeps that exception. You should handle this exception as if the pickImage or pickVideo got an exception when the MainActivity was not destroyed.

Note that it is not the exception that caused the destruction of the MainActivity.


final PlatformException? exception;