getCredentials method
Gets the current credentials of this repository. Can be used to restore access after closing and reopening the repository.
Implementation
Future<List<int>> getCredentials(
) async {
final request = RequestRepositoryGetCredentials(
repo: handle,
);
final response = await client.invoke(request);
switch (response) {
case ResponseBytes(value: final value): return value;
default: throw UnexpectedResponse();
}
}