instance property Null safety

GoogleSignInPlatform instance

The default instance of GoogleSignInPlatform to use.

Platform-specific plugins should override this with their own platform-specific class that extends GoogleSignInPlatform when they register themselves.

Defaults to MethodChannelGoogleSignIn.


static GoogleSignInPlatform get instance => _instance;
void instance=(GoogleSignInPlatform instance)


static set instance(GoogleSignInPlatform instance) {
  if (!instance.isMock) {
    try {
    } on NoSuchMethodError catch (_) {
      throw AssertionError(
          'Platform interfaces must not be implemented with `implements`');
  _instance = instance;