Entity constructor
Implementation
factory Entity({
$0.EntityId? uid,
$core.Iterable<$0.EntityId>? parents,
$core.Map<$core.String, $1.Value>? attributes,
}) {
final $result = create();
if (uid != null) {
$result.uid = uid;
}
if (parents != null) {
$result.parents.addAll(parents);
}
if (attributes != null) {
$result.attributes.addAll(attributes);
}
return $result;
}