updateShadow method

RadarSeriesStyle updateShadow(
  1. RadarShadowStyle update(
    1. RadarShadowStyle current
    )
)

Rebuilds RadarSeriesStyle.shadow from its current value.

update receives the current RadarShadowStyle and returns the replacement, so nested configuration is edited without re-stating the enclosing config.

Implementation

RadarSeriesStyle updateShadow(
  RadarShadowStyle Function(RadarShadowStyle current) update,
) => copyWith(shadow: update(shadow));