Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Properties
isSignedIn
→ Future <bool >
Check to see if the user is currently signed into Game Center or Google Play Games.
no setter
Static Methods
getAuthCode (String clientID )
→ Future <String ? >
Retrieve a Google Play Games server_auth_code
to be used by a backend,
such as Firebase, to authenticate the user. null
on other platforms.
signIn ()
→ Future <String ? >
Sign the user into Game Center or Google Play Games. This must be called before
taking any action (such as submitting a score or unlocking an achievement).