const CodgenConfig({ bool? toString, bool? eqHashCode, required this.nnbd, }) : genToString = toString ?? true, genEqHashCode = eqHashCode ?? true;