setCredentials method
Sets the current credentials of the repository.
Implementation
Future<void> setCredentials(
List<int> credentials,
) async {
final request = RequestRepositorySetCredentials(
repo: handle,
credentials: credentials,
);
final response = await client.invoke(request);
switch (response) {
case ResponseNone(): return;
default: throw UnexpectedResponse();
}
}