copyWith method

FdcErrorIndicatorMarkerStyle copyWith({
  1. Color? color,
  2. double? size,
})

Creates a copy with selected values replaced.

Implementation

FdcErrorIndicatorMarkerStyle copyWith({Color? color, double? size}) {
  return FdcErrorIndicatorMarkerStyle(
    color: color ?? this.color,
    size: size ?? this.size,
  );
}