ListComponentVersionsResponse.fromJson constructor
Implementation
factory ListComponentVersionsResponse.fromJson(Map<String, dynamic> json) {
return ListComponentVersionsResponse(
componentVersions: (json['componentVersions'] as List?)
?.whereNotNull()
.map((e) =>
ComponentVersionListItem.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}