of static method

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

Implementation

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