deleteAllCart method Null safety

dynamic deleteAllCart()

Implementation

deleteAllCart() {
  _cartItemList = <CartItem>[];
  _uuid = <String>[];
}