init method
INITIALIZATION/GET
Implementation
Future<bool> init() async {
if (!isInitialized) {
LogbotLogger().simple("NOT INITIALIZED, WILL FETCH DATA");
isInitialized = true;
try {
return initApiCall();
} catch (e, s) {
LogbotLogger().error("INIT ERROR", e.toString(), s);
return false;
}
}
return true;
}