of static method

PaymentList of({
  1. int? count,
  2. List<IPayment>? data,
})

Implementation

static PaymentList of({
  int? count,
  List<IPayment>? data
  }) {
  final self = PaymentList(<String, dynamic>{}, mtype: PaymentListRef, update: true);
  if (count != null) self.count = count;
  if (data != null) self.data = data;
  return self;
}