Discovery constructor

Discovery({
  1. DiscoveryQuery? query,
  2. Struct? results,
})

Implementation

factory Discovery({
  DiscoveryQuery? query,
  $43.Struct? results,
}) {
  final $result = create();
  if (query != null) {
    $result.query = query;
  }
  if (results != null) {
    $result.results = results;
  }
  return $result;
}