AgentConfiguration class

The response of ConfigureAgent that specifies if an agent profiles or not and for how long to return profiling data.

Constructors

AgentConfiguration({required int periodInSeconds, required bool shouldProfile, Map<AgentParameterField, String>? agentParameters})
AgentConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

agentParameters Map<AgentParameterField, String>?
Parameters used by the profiler. The valid parameters are:
final
hashCode int
The hash code for this object.
no setterinherited
periodInSeconds int
How long a profiling agent should send profiling data using ConfigureAgent . For example, if this is set to 300, the profiling agent calls ConfigureAgent every 5 minutes to submit the profiled data collected during that period.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldProfile bool
A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.
final

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