getThemeData method
Implementation
Future<AppTheme?> getThemeData() async {
try {
AtKey atKey = getAtkey();
var atValue = await atClientManager.atClient.get(atKey);
if (atValue.value == null && atValue.value == 'null') {
return null;
}
AppTheme? themeData = AppTheme.decode(jsonDecode(atValue.value));
return themeData;
} catch (e) {
_logger.severe('error in getThemeData : ${e.toString()}');
}
return null;
}