ProfilingStatus.fromJson constructor
ProfilingStatus.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ProfilingStatus.fromJson(Map<String, dynamic> json) {
return ProfilingStatus(
latestAgentOrchestratedAt:
timeStampFromJson(json['latestAgentOrchestratedAt']),
latestAgentProfileReportedAt:
timeStampFromJson(json['latestAgentProfileReportedAt']),
latestAggregatedProfile: json['latestAggregatedProfile'] != null
? AggregatedProfileTime.fromJson(
json['latestAggregatedProfile'] as Map<String, dynamic>)
: null,
);
}