signIn static method

Future<String?> signIn()

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).

Implementation

static Future<String?> signIn() async {
  return await GameAuth.signIn();
}