createOpenChannel method

Future createOpenChannel(
  1. {String name,
  2. List<String> userIds}
)

Implementation

Future createOpenChannel({String name, List<String> userIds}) async {
  Map<String, dynamic> body = {
    'name': name,
    'operator_ids': userIds,
  };
  var result = await this
      ._rest
      .postTo(this._openChannelsApi, this._defaultHeaders, body);
  return result;
}