updateGroupInfo method

Future<void> updateGroupInfo ({@required String id String newName String newDesc })

Implementation

Future<void> updateGroupInfo({
    @required String id,
    String newName,
    String newDesc,
  }) async {

  await _channel.invokeMethod('updateGroupInfo',
    {
      'id': id,
      'newName': newName,
      'newDesc': newDesc
    }..removeWhere((key,value) => value == null));

  return;
}