ListRepositoriesForApprovalRuleTemplateOutput.fromJson constructor

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

Implementation

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