of static method

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

Implementation

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