toPullRequestStatusEnum method
Implementation
PullRequestStatusEnum toPullRequestStatusEnum() {
switch (this) {
case 'OPEN':
return PullRequestStatusEnum.open;
case 'CLOSED':
return PullRequestStatusEnum.closed;
}
throw Exception('$this is not known in enum PullRequestStatusEnum');
}