copyWith method
Implementation
OrderBlockZone copyWith({
int? endIndex,
bool? isMitigated,
}) {
return OrderBlockZone(
candleIndex: candleIndex,
endIndex: endIndex ?? this.endIndex,
topPrice: topPrice,
bottomPrice: bottomPrice,
isBullish: isBullish,
isMitigated: isMitigated ?? this.isMitigated,
);
}