closeConsumer method
Implementation
void closeConsumer(String label, String peerId) {
try {
Consumer? consumer = getConsumer(label: label, peerId: peerId);
consumer?.close();
} catch (error) {
logger.e('❌ Error closing consumer | error: $error');
}
}