exception property Null safety

PlatformException? exception
final

The exception of the last getImage, getMultiImage or getVideo.

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

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

Implementation

final PlatformException? exception;