copyWith method

Margins copyWith({
  1. Margin? left,
  2. Margin? right,
  3. Margin? top,
  4. Margin? bottom,
})

Implementation

Margins copyWith({Margin? left, Margin? right, Margin? top, Margin? bottom}) => Margins(
      left: left ?? this.left,
      right: right ?? this.right,
      top: top ?? this.top,
      bottom: bottom ?? this.bottom,
    );