increment static method

Future<String?> increment({
  1. required Achievement achievement,
})

Increment an achievement. Achievement takes two parameters: androidID the achievement ID for Google Play Games. steps If the achievement is of the incremental type you can use this method to increment the steps.

Implementation

static Future<String?> increment({required Achievement achievement}) async {
  return await Achievements.increment(achievement: achievement);
}