copyWith method

FlyRadiusToken copyWith({
  1. double? xs,
  2. double? sm,
  3. double? md,
  4. double? lg,
  5. double? xl,
  6. double? xl2,
  7. double? xl3,
  8. double? xl4,
  9. Map<String, double>? extras,
})

Create a copy with updated values

Implementation

FlyRadiusToken copyWith({
  double? xs,
  double? sm,
  double? md,
  double? lg,
  double? xl,
  double? xl2,
  double? xl3,
  double? xl4,
  Map<String, double>? extras,
}) {
  return FlyRadiusToken(
    xs: xs ?? this.xs,
    sm: sm ?? this.sm,
    md: md ?? this.md,
    lg: lg ?? this.lg,
    xl: xl ?? this.xl,
    xl2: xl2 ?? this.xl2,
    xl3: xl3 ?? this.xl3,
    xl4: xl4 ?? this.xl4,
    extras: extras ?? this.extras,
  );
}