attributes static method

Attributes attributes([
  1. List<Attribute<Object>>? entries
])

Creates an Attributes collection from a list of Attributes.

Implementation

static Attributes attributes([List<Attribute>? entries]) {
  _getAndCacheOtelFactory();
  return OTelFactory.otelFactory!.attributes(entries);
}