copyWith method
ResponsiveValue<ValueType>
copyWith({
- ValueType? s,
- ValueType? xs,
- ValueType? xxs,
- ValueType? m,
- ValueType? xm,
- ValueType? l,
- ValueType? xl,
- ValueType? xxl,
- 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,
);