JourneyDateRangeKpiResponse.fromJson constructor
JourneyDateRangeKpiResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory JourneyDateRangeKpiResponse.fromJson(Map<String, dynamic> json) {
return JourneyDateRangeKpiResponse(
applicationId: json['ApplicationId'] as String,
endTime: nonNullableTimeStampFromJson(json['EndTime'] as Object),
journeyId: json['JourneyId'] as String,
kpiName: json['KpiName'] as String,
kpiResult:
BaseKpiResult.fromJson(json['KpiResult'] as Map<String, dynamic>),
startTime: nonNullableTimeStampFromJson(json['StartTime'] as Object),
nextToken: json['NextToken'] as String?,
);
}