ListRepositoryAssociationsResponse.fromJson constructor
ListRepositoryAssociationsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ListRepositoryAssociationsResponse.fromJson(
Map<String, dynamic> json) {
return ListRepositoryAssociationsResponse(
nextToken: json['NextToken'] as String?,
repositoryAssociationSummaries: (json['RepositoryAssociationSummaries']
as List?)
?.whereNotNull()
.map((e) =>
RepositoryAssociationSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}