GitHubRepoConfig.fromMap constructor
Creates a GitHubRepoConfig from a map (typically from TOML config).
Expected map keys:
name: The repository display namegithub_url: The GitHub repository URLauth_token: Optional authentication token (for private repos)
Implementation
factory GitHubRepoConfig.fromMap(Map<String, dynamic> map) {
return GitHubRepoConfig(
name: map['name'] as String? ?? '',
githubUrl: map['github_url'] as String? ?? '',
authToken: map['auth_token'] as String?,
);
}