withoutIgnored method
Returns a copy of the schema with @ignore / @@ignore members removed.
Implementation
SchemaDocument withoutIgnored() {
return SchemaDocument(
models: models
.where((model) => !model.isIgnored)
.map((model) => model.withoutIgnoredFields())
.toList(growable: false),
enums: enums,
datasources: datasources,
generators: generators,
);
}