setConfiguration method

  1. @override
Future<void> setConfiguration(
  1. dynamic baseUrl,
  2. dynamic userId,
  3. dynamic clientId,
  4. dynamic clientSecret,
  5. 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
  });
}