readFromPreferences method
Reads the condition values from the specified shared preferences.
Implementation
@override
void readFromPreferences(SharedPreferences preferences, String preferencesPrefix) {
launches = preferences.getInt('${preferencesPrefix}launches') ?? 0;
}