copyWith method
Creates a copy with the given modifications.
Implementation
BoolSpec copyWith({
bool? defaultValue,
String? description,
bool? nullable,
List<Object>? examples,
bool? isDeprecated,
}) =>
BoolSpec(
defaultValue: defaultValue ?? this.defaultValue,
description: description ?? this.description,
nullable: nullable ?? this.nullable,
examples: examples ?? this.examples,
isDeprecated: isDeprecated ?? this.isDeprecated,
);