ListConversationsResponse constructor

ListConversationsResponse({
  1. Iterable<Conversation>? conversations,
  2. String? nextPageToken,
})

Implementation

factory ListConversationsResponse({
  $core.Iterable<Conversation>? conversations,
  $core.String? nextPageToken,
}) {
  final _result = create();
  if (conversations != null) {
    _result.conversations.addAll(conversations);
  }
  if (nextPageToken != null) {
    _result.nextPageToken = nextPageToken;
  }
  return _result;
}