getRedirectInfo method
return redirect information (redirectIdentity, redirectUrl) about identity if any
Implementation
Future getRedirectInfo({
required String identityId
}) async {
var url = '/get-redirect-info';
var params = <String,dynamic>{
'identityId': identityId
};
var resp = await _invoke(url, params);
if (resp['result'] != 'OK') throw resp['result'];
return {
'redirectIdentity': resp['redirectIdentity'],
'redirectUrl': resp['redirectUrl'],
};
}