copy method

LayoutFormat copy({
  1. int? columns,
  2. double? gutter,
  3. double? leftMargin,
  4. double? rightMargin,
  5. double? topMargin,
  6. double? bottomMargin,
  7. LayoutModule? module,
})

Implementation

LayoutFormat copy({
  int? columns,
  double? gutter,
  double? leftMargin,
  double? rightMargin,
  double? topMargin,
  double? bottomMargin,
  LayoutModule? module,
}) =>
    LayoutFormat(
      columns: columns ?? this.columns,
      gutter: gutter ?? this.gutter,
      leftMargin: leftMargin ?? this.leftMargin,
      topMargin: topMargin ?? this.topMargin,
      rightMargin: rightMargin ?? this.rightMargin,
      bottomMargin: bottomMargin ?? this.bottomMargin,
      module: module ?? this.module,
    );