ListSolutionVersionsResponse.fromJson constructor

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

Implementation

factory ListSolutionVersionsResponse.fromJson(Map<String, dynamic> json) {
  return ListSolutionVersionsResponse(
    nextToken: json['nextToken'] as String?,
    solutionVersions: (json['solutionVersions'] as List?)
        ?.whereNotNull()
        .map(
            (e) => SolutionVersionSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}