of static method

Facts of({
  1. required int? count,
  2. List<IFact>? data,
})

Implementation

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