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