Implementation
factory QueryResultItem({
$core.String? did,
$6.EntityKind? kind,
$9.WhoIs? whoIs,
$10.WhatIs? whatIs,
$5.SchemaDefinition? schemaDefinition,
$0.WhereIs? whereIs,
$core.Iterable<$0.WhereIs>? whereIsList,
}) {
final _result = create();
if (did != null) {
_result.did = did;
}
if (kind != null) {
_result.kind = kind;
}
if (whoIs != null) {
_result.whoIs = whoIs;
}
if (whatIs != null) {
_result.whatIs = whatIs;
}
if (schemaDefinition != null) {
_result.schemaDefinition = schemaDefinition;
}
if (whereIs != null) {
_result.whereIs = whereIs;
}
if (whereIsList != null) {
_result.whereIsList.addAll(whereIsList);
}
return _result;
}