JourneyExecutionActivityMetricsResponse.fromJson constructor
JourneyExecutionActivityMetricsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory JourneyExecutionActivityMetricsResponse.fromJson(
Map<String, dynamic> json) {
return JourneyExecutionActivityMetricsResponse(
activityType: json['ActivityType'] as String,
applicationId: json['ApplicationId'] as String,
journeyActivityId: json['JourneyActivityId'] as String,
journeyId: json['JourneyId'] as String,
lastEvaluatedTime: json['LastEvaluatedTime'] as String,
metrics: (json['Metrics'] as Map<String, dynamic>)
.map((k, e) => MapEntry(k, e as String)),
);
}