getDeployKey method
Implementation
Future<PublicKey> getDeployKey(RepositorySlug slug, {required int id}) async {
ArgumentError.checkNotNull(slug);
ArgumentError.checkNotNull(id);
return github.getJSON<Map<String, dynamic>, PublicKey>(
'/repos/${slug.fullName}/keys/$id',
statusCode: StatusCodes.OK,
convert: PublicKey.fromJson,
);
}