BatchGetRepositoriesOutput.fromJson constructor
Implementation
factory BatchGetRepositoriesOutput.fromJson(Map<String, dynamic> json) {
return BatchGetRepositoriesOutput(
repositories: (json['repositories'] as List?)
?.whereNotNull()
.map((e) => RepositoryMetadata.fromJson(e as Map<String, dynamic>))
.toList(),
repositoriesNotFound: (json['repositoriesNotFound'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}