submitScore method

Future<String?> submitScore({
  1. dynamic score = Score,
})

Submit a score to specific leader board. Score takes three parameters: androidLeaderboardID the leader board id that you want to send the score for in case of android. iOSLeaderboardID the leader board id that you want to send the score for in case of iOS. value the score.

Implementation

Future<String?> submitScore({score = Score}) async {
  return await FirebaseGameServices.platform.submitScore(score: score);
}