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,
}) {
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,
);
}