Query constructor

Query({
  1. QueryId? id,
  2. Target? target,
  3. ActorContext? context,
  4. ResponseFormat? format,
})

Implementation

factory Query({
  QueryId? id,
  $49.Target? target,
  $41.ActorContext? context,
  ResponseFormat? format,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (target != null) {
    _result.target = target;
  }
  if (context != null) {
    _result.context = context;
  }
  if (format != null) {
    _result.format = format;
  }
  return _result;
}