ProfilerConfig.fromJson constructor
Implementation
factory ProfilerConfig.fromJson(Map<String, dynamic> json) {
return ProfilerConfig(
s3OutputPath: json['S3OutputPath'] as String,
profilingIntervalInMilliseconds:
json['ProfilingIntervalInMilliseconds'] as int?,
profilingParameters:
(json['ProfilingParameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}