setUp method
Future<void>
setUp(
- String clientId,
- String clientSecret,
- bool isProduction,
- String urlScheme,
- String state,
- String redirectUri,
- String scope,
override
Implementation
@override
Future<void> setUp(
String clientId,
String clientSecret,
bool isProduction,
String urlScheme,
String state,
String redirectUri,
String scope,
) async {
await methodChannel
.invokeMethod<void>('set_up_environment', <String, String>{
'client_id': clientId,
'client_secret': clientSecret,
'environment': isProduction ? 'production' : 'qa',
"redirect_uri_login": urlScheme,
"scheme": urlScheme,
'state': state,
"redirect_url": redirectUri,
"scope": scope,
});
}