copyWith method

ResponsiveValue<ValueType> copyWith({
  1. ValueType? s,
  2. ValueType? xs,
  3. ValueType? xxs,
  4. ValueType? m,
  5. ValueType? xm,
  6. ValueType? l,
  7. ValueType? xl,
  8. ValueType? xxl,
  9. ValueType? h,
})

Implementation

ResponsiveValue<ValueType> copyWith({
  ValueType? s,
  ValueType? xs,
  ValueType? xxs,
  ValueType? m,
  ValueType? xm,
  ValueType? l,
  ValueType? xl,
  ValueType? xxl,
  ValueType? h,
}) =>
    ResponsiveValue<ValueType>(
      s: s ?? this.s,
      xs: xs ?? this.xs,
      xxs: xxs ?? this.xxs,
      m: m ?? this.m,
      xm: xm ?? this.xm,
      l: l ?? this.l,
      xl: xl ?? this.xl,
      xxl: xxl ?? this.xxl,
      h: h ?? this.h,
    );