copyWith method
Implementation
SnakeShape copyWith({
ShapeBorder? shape,
bool? centered,
EdgeInsets? padding,
}) {
return SnakeShape._(
shape: shape ?? this.shape,
type: type,
centered: centered ?? this.centered,
padding: padding ?? this.padding,
);
}