renderResultToEntityList method

List<DfBaseEntity<DfBaseField>> renderResultToEntityList()

Implementation

List<DfBaseEntity> renderResultToEntityList() {
  DfBaseEntity entity;
  if (query != null && query.entityJoin != null && query.entityJoin.entities != null && query.entityJoin.entities.length > 0) {
    entity = query.entityJoin.entities[0];
  }

  if (result != null && entity != null) {
    List<DfBaseEntity> arr = [];
    for (Map<String,dynamic> singleR in result) {
      arr.add(renderResultToEntity(pResult: singleR));
    }
    return arr;
  }
  return null;
}