listFacts method

Future<Iterable<IFact>> listFacts(
  1. MSchemaRef mtype, {
  2. double? offset,
  3. double? limit,
})

Implementation

Future<Iterable<IFact>> listFacts(MSchemaRef mtype,
    {double? offset, double? limit}) async {
  return (await _apis.get(mtype).list(offset: offset, limit: limit))
      .data!
      .map((entity) {
    return entity as IFact;
  });
}