copyWith method

FlyLeadingToken copyWith({
  1. double? tight,
  2. double? snug,
  3. double? normal,
  4. double? relaxed,
  5. double? loose,
  6. Map<String, double>? extras,
})

Create a copy with updated values

Implementation

FlyLeadingToken copyWith({
  double? tight,
  double? snug,
  double? normal,
  double? relaxed,
  double? loose,
  Map<String, double>? extras,
}) {
  return FlyLeadingToken(
    tight: tight ?? this.tight,
    snug: snug ?? this.snug,
    normal: normal ?? this.normal,
    relaxed: relaxed ?? this.relaxed,
    loose: loose ?? this.loose,
    extras: extras ?? this.extras,
  );
}