changeGroupType method

Future<void> changeGroupType ({@required String groupId, @required JMGroupType type })

Implementation

Future<void> changeGroupType({
  @required String groupId,
  @required JMGroupType type,
}) async {

  await _channel.invokeMethod('changeGroupType',{
    'groupId': groupId,
    'type': getStringFromEnum(type)
  }..removeWhere((key, value) => value == null));
  return;
}