BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.fromJson constructor
BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.fromJson(
Map<String, dynamic> json) {
return BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput(
disassociatedRepositoryNames:
(json['disassociatedRepositoryNames'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
errors: (json['errors'] as List)
.whereNotNull()
.map((e) => BatchDisassociateApprovalRuleTemplateFromRepositoriesError
.fromJson(e as Map<String, dynamic>))
.toList(),
);
}