copyWith method

Creates a copy with selected values replaced.

Implementation

FdcErrorIndicatorOptions copyWith({
  FdcErrorIndicatorMode? mode,
  FdcErrorIndicatorMarkerStyle? markerStyle,
}) {
  return FdcErrorIndicatorOptions(
    mode: mode ?? this.mode,
    markerStyle: markerStyle ?? this.markerStyle,
  );
}