identity method
Declares which package stands for this repository. See ProjectIdentity.
Refused twice, like changes and for the same reason. A repository has one face; two calls are a config with two answers, and either resolution drops one of them without a word.
Implementation
void identity(ProjectIdentity config) {
if (_identity != null) {
throw StateError(
'fw.identity was called twice. Declare one ProjectIdentity per '
'repository.',
);
}
_identity = config;
}