update gen qr
This commit is contained in:
@@ -56,4 +56,13 @@ class OrderRepositoryImpl implements OrderRepository {
|
||||
throw Exception('Failed to create order: $e');
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<Map<String, dynamic>> generateQrCode(String orderId) async {
|
||||
try {
|
||||
return await _remoteDataSource.generateQrCode(orderId);
|
||||
} catch (e) {
|
||||
throw Exception('Failed to generate QR code: $e');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user