ListDashboardVersionsResponse.fromJson constructor

ListDashboardVersionsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListDashboardVersionsResponse.fromJson(Map<String, dynamic> json) {
  return ListDashboardVersionsResponse(
    dashboardVersionSummaryList:
        (json['DashboardVersionSummaryList'] as List?)
            ?.whereNotNull()
            .map((e) =>
                DashboardVersionSummary.fromJson(e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
    requestId: json['RequestId'] as String?,
  );
}