resetUserRoles method
Implementation
Future<User> resetUserRoles(String sdkId, String userId) async {
final res = await _methodChannel.invokeMethod<String>(
'UserApi.resetUserRoles',
{
"sdkId": sdkId,
"userId": jsonEncode(userId),
}
);
if (res == null) throw AssertionError("received null result from platform method resetUserRoles");
final parsedResJson = jsonDecode(res);
return User.fromJSON(parsedResJson);
}