copyWith method

RadiusConfig copyWith({
  1. String? xs,
  2. String? sm,
  3. String? md,
  4. String? lg,
  5. String? xl,
  6. String? xxl,
  7. String? full,
})

Create a copy with some fields replaced.

Implementation

RadiusConfig copyWith({
  String? xs,
  String? sm,
  String? md,
  String? lg,
  String? xl,
  String? xxl,
  String? full,
}) {
  return RadiusConfig(
    xs: xs ?? this.xs,
    sm: sm ?? this.sm,
    md: md ?? this.md,
    lg: lg ?? this.lg,
    xl: xl ?? this.xl,
    xxl: xxl ?? this.xxl,
    full: full ?? this.full,
  );
}