copyWith method
Copy the standardSquintGeneratorOptions with custom overrides.
{@category generator}
Implementation
SquintGeneratorOptions copyWith({
bool? includeJsonAnnotations,
bool? alwaysAddJsonValue,
bool? blankLineBetweenFields,
bool? generateChildClasses,
bool? includeCustomTypeImports,
}) =>
SquintGeneratorOptions(
includeJsonAnnotations: includeJsonAnnotations ??
standardSquintGeneratorOptions.includeJsonAnnotations,
alwaysAddJsonValue: alwaysAddJsonValue ??
standardSquintGeneratorOptions.alwaysAddJsonValue,
blankLineBetweenFields: blankLineBetweenFields ??
standardSquintGeneratorOptions.blankLineBetweenFields,
generateChildClasses: generateChildClasses ??
standardSquintGeneratorOptions.generateChildClasses,
includeCustomTypeImports: includeCustomTypeImports ??
standardSquintGeneratorOptions.includeCustomTypeImports,
);