cleanListOfCommit method
List<Query$GetLastCommits$repository$object$$Commit$history$nodes?>
cleanListOfCommit(
- Query$GetLastCommits$repository? rawCommits
Implementation
List<Query$GetLastCommits$repository$object$$Commit$history$nodes?>
cleanListOfCommit(Query$GetLastCommits$repository? rawCommits) {
if (rawCommits == null) {
return [];
}
var commits =
rawCommits.object as Query$GetLastCommits$repository$object$$Commit;
return commits.history.nodes ?? [];
}