ChannelJoin constructor

ChannelJoin({
  1. String? target,
  2. int? type,
  3. BoolValue? persistence,
  4. BoolValue? hidden,
})

Implementation

factory ChannelJoin({
  $core.String? target,
  $core.int? type,
  $1.BoolValue? persistence,
  $1.BoolValue? hidden,
}) {
  final _result = create();
  if (target != null) {
    _result.target = target;
  }
  if (type != null) {
    _result.type = type;
  }
  if (persistence != null) {
    _result.persistence = persistence;
  }
  if (hidden != null) {
    _result.hidden = hidden;
  }
  return _result;
}