of static method

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

Implementation

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