The list of shadows, or null if the decoration doesn't define one.
List<BoxShadow>? get shadows => switch (this) { BoxDecoration(:final boxShadow) => boxShadow, ShapeDecoration(:final shadows) => shadows, _ => null, };