increment method
Increment an achievement
.
Achievement takes two parameters:
androidID
the achievement id for android.
steps
If the achievement is of the incremental type
you can use this method to increment the steps.
- only for Android (see https://developers.google.com/games/services/android/achievements#unlocking_achievements).
Implementation
Future<String?> increment({achievement = Achievement}) async {
return await FirebaseGameServices.platform
.increment(achievement: achievement);
}