include method

void include(
  1. String type, {
  2. List<String>? fields,
  3. int? limit,
})

Implementation

void include(String type, {List<String>? fields, int? limit}) {
  _includes.add(type);
  if (fields != null) {
    _fields[type] = fields.join(',');
  }
  if (limit != null) {
    _limits[type] = limit;
  }
}