copyWith method

StreamSpacing copyWith({
  1. double? none,
  2. double? xxxs,
  3. double? xxs,
  4. double? xs,
  5. double? sm,
  6. double? md,
  7. double? lg,
  8. double? xl,
  9. double? xxl,
  10. double? xxxl,
})
inherited

Implementation

StreamSpacing copyWith({
  double? none,
  double? xxxs,
  double? xxs,
  double? xs,
  double? sm,
  double? md,
  double? lg,
  double? xl,
  double? xxl,
  double? xxxl,
}) {
  final _this = (this as StreamSpacing);

  return StreamSpacing(
    none: none ?? _this.none,
    xxxs: xxxs ?? _this.xxxs,
    xxs: xxs ?? _this.xxs,
    xs: xs ?? _this.xs,
    sm: sm ?? _this.sm,
    md: md ?? _this.md,
    lg: lg ?? _this.lg,
    xl: xl ?? _this.xl,
    xxl: xxl ?? _this.xxl,
    xxxl: xxxl ?? _this.xxxl,
  );
}