ListIntentsResponse constructor

ListIntentsResponse({
  1. Iterable<Intent>? intents,
  2. String? nextPageToken,
})

Implementation

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