GameServicesConnect class

Plugin Class for Game Center And Google ::: signIn must be called first :::

Constructors

GameServicesConnect()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

signIn Future<SignInResult>
signIn call make this connection early in your code configuration
no setter

Static Methods

setPercentAchievement({required String id, required double percent}) Future<bool>
set percentage for an achievement ::: id (String) && percent (double) 0.01-100.00
showAchievements() Future<bool>
ACHIEVEMENTS show achievements
showLeaderboard(String id) Future<bool>
LEADERBOARD show leaderboard must specify a particular leaderboard by id (String)
submitScore({required String id, required int score}) Future<bool>
submit leaderboard score ::: id (String) && score (int)
unlockAchievement(String id) Future<bool>
unlock an achievement ::: id (String)