createContext method
Construct a full CIContext snapshot of the current environment.
Implementation
CIContext createContext() {
return CIContext(
isCi: isCi,
isGitHubActions: isGitHubActions,
providerName: providerName,
repository: repository,
branch: branch,
commitSha: commitSha,
runNumber: runNumber,
workflow: workflow,
eventName: eventName,
actor: actor,
environment: _env,
);
}