initWithParams method Null safety

Future<void> initWithParams(
  1. SignInInitParameters params
)

Initializes the plugin with specified params. You must call this method before calling other methods.

See:

Implementation

Future<void> initWithParams(SignInInitParameters params) async {
  await init(
    scopes: params.scopes,
    signInOption: params.signInOption,
    hostedDomain: params.hostedDomain,
    clientId: params.clientId,
  );
}