How to force Flutter to set app lifecycle state

Viewed 355

As didChangeAppLifecycleState is able to know when app lifecycle state has changed [#50131598]; I want to force my flutter app to be in an specific lifecycle state.

Is there a method such as setLifeCycleState(AppLifecycleState.paused); ?

I want to force my running app to paused itself.

Any suggestion will be welcome !

0 Answers
Related