of static method

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

Implementation

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