Attribute class
A representation of a single piece of metadata attached to trace span.
Constructors
- Attribute.fromBoolean(String key, bool value)
- Create an Attribute from a boolean value.
-
Attribute.fromBooleanList(String key, List<
bool> value) - Create an Attribute from a list of boolean values.
- Attribute.fromDouble(String key, double value)
- Create an Attribute from a double-precision floating-point value.
-
Attribute.fromDoubleList(String key, List<
double> value) - Create an Attribute from a list of double-precision floating-point values.
- Attribute.fromInt(String key, int value)
- Create an Attribute from an integer value.
-
Attribute.fromIntList(String key, List<
int> value) - Create an Attribute from a list of integer values.
- Attribute.fromString(String key, String value)
- Create an Attribute from a String value.
-
Attribute.fromStringList(String key, List<
String> value) - Create an Attribute from a list of String values.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited