token property
GitHub personal access token for API authentication.
Personal access token with appropriate repository permissions for creating releases and uploading assets. Required scopes:
repo(for private repositories)public_repo(for public repositories)
Format: "ghp_xxxxxxxxxxxxxxxxxxxx" Can be created in GitHub Settings > Developer settings > Personal access tokens
Implementation
late String token;