Resource constructor
Implementation
factory Resource({
$core.Iterable<$1.KeyValue>? attributes,
$core.int? droppedAttributesCount,
}) {
final $result = create();
if (attributes != null) {
$result.attributes.addAll(attributes);
}
if (droppedAttributesCount != null) {
$result.droppedAttributesCount = droppedAttributesCount;
}
return $result;
}