transferCredential method
Transfer a credential to another project
Implementation
Future<Response> transferCredential(String id, String destinationProjectId) async {
try {
final response = await _dio.put(
'/credentials/$id/transfer',
data: {
'destinationProjectId': destinationProjectId,
},
);
return response;
} on DioException catch (e) {
throw Exception('Failed to transfer credential: ${e.message}');
}
}