StatusPresenceEvent constructor
StatusPresenceEvent({
- Iterable<
UserPresence> ? joins, - Iterable<
UserPresence> ? leaves,
Implementation
factory StatusPresenceEvent({
$core.Iterable<UserPresence>? joins,
$core.Iterable<UserPresence>? leaves,
}) {
final _result = create();
if (joins != null) {
_result.joins.addAll(joins);
}
if (leaves != null) {
_result.leaves.addAll(leaves);
}
return _result;
}