copyWith method
Creates a copy with the specified values replaced.
Implementation
BorderSides copyWith({bool? top, bool? bottom, bool? left, bool? right}) {
return BorderSides(
top: top ?? this.top,
bottom: bottom ?? this.bottom,
left: left ?? this.left,
right: right ?? this.right,
);
}