launchCustomSignupConversation method
Implementation
@override
Future<String?> launchCustomSignupConversation(SignupData signupData) async {
var customDataMap=signupData.setCustomData;
String customDataString="{";
if(customDataMap.containsKey("EMPTY_KEY"))
{
customDataString="NULL_VALUE";
}
else
{
customDataMap.forEach((key, value) {
customDataString+="${key} : ${value},";
});
customDataString=customDataString.substring(0,customDataString.length-2);
customDataString+="}";
}
var signupDataMap={'AuthCode':signupData.setAuthCode, 'AuthId':signupData.setAuthId,
'SignupType': signupData.setSignupType, 'CustomData': customDataString};
final message = await methodChannel.invokeMethod<String>('launchCustomSignupConversation',signupDataMap);
return message;
}