ListApplicationVersionsResponse.fromJson constructor

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

Implementation

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