DiscoveryQuery constructor

DiscoveryQuery({
  1. String? subtype,
  2. String? model,
  3. Struct? extra,
})

Implementation

factory DiscoveryQuery({
  $core.String? subtype,
  $core.String? model,
  $43.Struct? extra,
}) {
  final $result = create();
  if (subtype != null) {
    $result.subtype = subtype;
  }
  if (model != null) {
    $result.model = model;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}