uploadImages method

Future uploadImages(
  1. List<String> imagePaths,
  2. String businessId
)

Implementation

Future<dynamic> uploadImages(
    List<String> imagePaths, String businessId) async {
  try {
    dynamic responseList = await _api.uploadImages(imagePaths, businessId);
    return responseList;
  } catch (error) {
    if (kDebugMode) {
      print('Repository error: $error');
    }
    return [];
  }
}