merge method

  1. @override
FlyTrackingToken merge(
  1. FlyToken<double> other
)
override

Merge another token into this one (right side wins)

Implementation

@override
FlyTrackingToken merge(FlyToken<double> other) {
  if (other is! FlyTrackingToken) return this;

  return copyWith(
    tighter: other.tighter,
    tight: other.tight,
    normal: other.normal,
    wide: other.wide,
    wider: other.wider,
    widest: other.widest,
    extras: {...extras, ...other.extras},
  );
}