SignIn constructor

SignIn({
  1. required String clientId,
  2. bool debugLog = false,
  3. List<String> scopes = const ['email'],
})
  • clientId
    • use Google OAuth Web Application Client Id for webpage, moz-extension
    • use Google Oauth Chrome Application Client Id for chrome-extension and standalone app
    • cannot be empty
  • scopes : scopes for OAuth signin
    • Default ['email'] for Google api
  • debugLog : force print of log message. Default false

Implementation

SignIn({
  required this.clientId,
  this.debugLog = false,
  this.scopes = const ['email'],
});