copyWithout method
Creates a copy of this instance, removing the specified fields.
Implementation
GenerateDartModel copyWithout({
bool className = true,
bool fields = true,
bool shouldInherit = true,
bool inheritanceConstructor = true,
bool keyStringCase = true,
bool description = true,
bool tableName = true,
bool schema = true,
bool indexes = true,
}) {
return GenerateDartModel.assertRequired(
className: className ? this.className : null,
fields: fields ? this.fields : null,
shouldInherit: shouldInherit ? this.shouldInherit : null,
inheritanceConstructor:
inheritanceConstructor ? this.inheritanceConstructor : null,
keyStringCase: keyStringCase ? this.keyStringCase : null,
description: description ? this.description : null,
tableName: tableName ? this.tableName : null,
schema: schema ? this.schema : null,
indexes: indexes ? this.indexes : null,
);
}