unlock method
Unlock an achievement
.
Achievement takes three parameters:
androidID
the achievement id for android.
iOSID
the achievement id for iOS.
percentComplete
the completion percent of the achievement, this parameter is
optional in case of iOS.
Implementation
Future<String?> unlock({achievement = Achievement}) async {
return await FirebaseGameServices.platform.unlock(achievement: achievement);
}