
This can be hit if the FlutterJNI has been disconnected. In this case, it is correct to return a nullptr as the engine can create its own trasnaction.
Flutter Engine
Setting up the Engine development environment
See here
gclient
bootstrap
Flutter engine uses gclient
to manage dependencies.
If you've already cloned the flutter repository: