ChannelMessageList constructor
ChannelMessageList({
- Iterable<
ChannelMessage> ? messages, - String? nextCursor,
- String? prevCursor,
- String? cacheableCursor,
Implementation
factory ChannelMessageList({
$core.Iterable<ChannelMessage>? messages,
$core.String? nextCursor,
$core.String? prevCursor,
$core.String? cacheableCursor,
}) {
final _result = create();
if (messages != null) {
_result.messages.addAll(messages);
}
if (nextCursor != null) {
_result.nextCursor = nextCursor;
}
if (prevCursor != null) {
_result.prevCursor = prevCursor;
}
if (cacheableCursor != null) {
_result.cacheableCursor = cacheableCursor;
}
return _result;
}