loadAchievements static method
Get achievements as a list. Use this to build a custom UI. To show the device's default achievements screen use showAchievements.
Implementation
static Future<List<AchievementItemData>?> loadAchievements() async {
return await Achievements.loadAchievements();
}