init method

Future<void> init({
  1. String? identifier,
  2. String? secret,
})

init this in your main.dart

await FlutterCanPassLogin.getInstance().init(

Implementation

//     secret: your_secret,
//     identifier: client_id);
/// ```
Future<void> init({String? identifier, String? secret}) async {
  await Utils.getInstance().init();
  this._identifier = identifier;
  this._secret = secret;
  _accessToken = Utils.getInstance().getAccessTokenFromCache();
}