copyWith method

FlyBreakpointToken copyWith({
  1. double? sm,
  2. double? md,
  3. double? lg,
  4. double? xl,
  5. double? xl2,
  6. Map<String, double>? extras,
})

Create a copy with updated values

Implementation

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