updateGroup method
Updates the group with the given Id.
@param {String} groupId The Id of the group to update. @param {GroupRequest} request The request that contains all the new group information. @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<GroupResponse, Errors>> updateGroup(
String groupId, GroupRequest request) {
return _start<GroupResponse, Errors>()
.withUri('/api/group')
.withUriSegment(groupId)
.withJSONBody(request)
.withMethod('PUT')
.withResponseHandler(
defaultResponseHandlerBuilder((d) => GroupResponse.fromJson(d)))
.go();
}