load static method
Implementation
static Future<ThemeModel> load() async {
var sp = await getSharedPreferences();
ThemeModel themeModel = ThemeModel();
themeModel.setThemeMode((sp.getString("themeMode") ?? "system") == "system"
? ThemeMode.system
: ThemeMode.light);
String cl = sp.getString("seedColor") ?? "blueGrey";
themeModel.setThemeSeedColor(cl);
return themeModel;
}