of static method

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

Implementation

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