InstrumentRule class

Contains a set of parameters used to determine which instruments are enabled for which listeners. Unspecified parameters match anything.

Constructors

InstrumentRule({String? meterName, String? instrumentName, String? listenerName, required int scopes, bool enable = false})
const

Properties

enable bool
Gets a value that indicates whether the instrument should be enabled for the listener.
final
hashCode int
The hash code for this object.
no setterinherited
instrumentName String?
final
listenerName String?
final
meterName String?
Gets the Meter.name, either an exact match or the longest prefix match.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes int
Gets the MeterScope.
no setter

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