AgentConfiguration.fromJson constructor
Implementation
factory AgentConfiguration.fromJson(Map<String, dynamic> json) {
return AgentConfiguration(
periodInSeconds: json['periodInSeconds'] as int,
shouldProfile: json['shouldProfile'] as bool,
agentParameters: (json['agentParameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k.toAgentParameterField(), e as String)),
);
}