DescribeRepositoriesResponse.fromJson constructor

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

Implementation

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