copyWith method

DesignSpacing copyWith({
  1. double? grid,
})

This with the given fields changed.

Implementation

DesignSpacing copyWith({double? grid}) =>
    DesignSpacing(grid: grid ?? this.grid);