ProfilingGroupDescription.fromJson constructor
ProfilingGroupDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ProfilingGroupDescription.fromJson(Map<String, dynamic> json) {
return ProfilingGroupDescription(
agentOrchestrationConfig: json['agentOrchestrationConfig'] != null
? AgentOrchestrationConfig.fromJson(
json['agentOrchestrationConfig'] as Map<String, dynamic>)
: null,
arn: json['arn'] as String?,
computePlatform:
(json['computePlatform'] as String?)?.toComputePlatform(),
createdAt: timeStampFromJson(json['createdAt']),
name: json['name'] as String?,
profilingStatus: json['profilingStatus'] != null
? ProfilingStatus.fromJson(
json['profilingStatus'] as Map<String, dynamic>)
: null,
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
updatedAt: timeStampFromJson(json['updatedAt']),
);
}