LRRemovePayment constructor

LRRemovePayment({
  1. String? paymentId,
  2. String? userId,
})

Implementation

factory LRRemovePayment({String? paymentId, String? userId}) {
  if (paymentId == null && userId == null) {
    throw ArgumentError('Either paymentId or userId must be provided');
  }
  return LRRemovePayment._(paymentId: paymentId, userId: userId);
}