setAppTheme function

Future<bool> setAppTheme(
  1. AppTheme appTheme
)

setAppTheme sets theme data with appTheme

Implementation

Future<bool> setAppTheme(AppTheme appTheme) async {
  return await ThemeService().updateThemeData(appTheme);
}