updateAppState method

Future<void> updateAppState(
  1. bool foreground
)

Implementation

Future<void> updateAppState(bool foreground) async {
  await putString(Keys.appState, foreground ? 'Foreground' : 'Background');
}