setConfiguration method
Future<void>
setConfiguration(
- dynamic baseUrl,
- dynamic userId,
- dynamic clientId,
- dynamic clientSecret,
- dynamic isDebug,
override
This method implements the invokeSDK and communicated with native side passes values and maintains proper checks
Implementation
@override
Future<void> setConfiguration(
baseUrl, userId, clientId, clientSecret, isDebug) async {
methodChannel.invokeMethod<String>('setConfiguration', {
"baseUrl": baseUrl,
"userId": userId,
"clientId": clientId,
"clientSecret": clientSecret,
"isDebug": isDebug
});
}