I am searching for a method to get Crash Dumps for my flutter app and store them to a local file, so they can be analyzed later. I am using the Desktop version of Flutter on Windows and Linux, and I cannot rely on having an internet connection, so web based solutions like crashlytics won't work for me, even if they were supported on these platforms.
The solution should both work for crashes in flutter/dart code and for crashes in dynamic libraries (.dll's / .so's) that I am calling via dart ffi.