ListContextsResponse constructor

ListContextsResponse({
  1. Iterable<Context>? contexts,
  2. String? nextPageToken,
})

Implementation

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