update method

Future<void> update(
  1. Group group
)

Updates a group.

Group must include the ID and new name.

Implementation

Future<void> update(Group group) async {
  await _channel.invokeMethod('groups.update', {
    'groupId': group.id,
    'name': group.name,
  });
}