init method
Initializes the plugin (loads base launch date, app launches and whether the dialog should not be opened again).
Implementation
Future<void> init() async {
SharedPreferences preferences = await SharedPreferences.getInstance();
for (Condition condition in conditions) {
condition.readFromPreferences(preferences, preferencesPrefix);
}
await callEvent(RateMyAppEventType.initialized);
}