I'm not exactly sure of the semantics of how this class will be used, but consider deleting this line and the next, and changing the ctor definition to be:

    HttpFetcher(this.store, this.name, this.repoUrl, [this.username = "", this.password = ""])