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