merge method
Merge another token into this one (right side wins)
Implementation
@override
FlyTextStyleToken merge(FlyToken<TextStyle> other) {
if (other is! FlyTextStyleToken) return this;
return copyWith(
xs: other.xs,
sm: other.sm,
base: other.base,
lg: other.lg,
xl: other.xl,
xl2: other.xl2,
xl3: other.xl3,
xl4: other.xl4,
xl5: other.xl5,
xl6: other.xl6,
xl7: other.xl7,
xl8: other.xl8,
xl9: other.xl9,
extras: {...extras, ...other.extras},
);
}