attachScreenshotOnlyWhenResumed property
Only attach a screenshot when the app is resumed. See https://docs.sentry.io/platforms/flutter/troubleshooting/#screenshot-integration-background-crash
Implementation
bool attachScreenshotOnlyWhenResumed = false;