persistSettings method

  1. @override
Future<void> persistSettings ()
override

Implementation

@override
Future<void> persistSettings() async {
  await Future.delayed(Duration(microseconds: 200));
  themeDb.put('type', getThemeText(themeType));
  themeDb.put('useSystem', this.useSystem.toString());
  print('theme settings saved');
}