of static method

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

Implementation

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