copyWith method
Implementation
DisposeFunctionConfig copyWith({
bool? isInstance,
String? name,
ImportableType? importableType,
}) {
if ((isInstance == null || identical(isInstance, this.isInstance)) &&
(name == null || identical(name, this.name)) &&
(importableType == null ||
identical(importableType, this.importableType))) {
return this;
}
return DisposeFunctionConfig(
isInstance: isInstance ?? this.isInstance,
name: name ?? this.name,
importableType: importableType ?? this.importableType,
);
}