copyWith method
This with the named parts changed.
Implementation
ComicTypeface copyWith({
String? display,
String? text,
@Deprecated(_scaleGone) double? scale,
double? displayCapHeight,
double? textCapHeight,
}) => ComicTypeface(
display: display ?? this.display,
text: text ?? this.text,
displayPackage: displayPackage,
textPackage: textPackage,
scale: scale ?? this.scale,
displayCapHeight: displayCapHeight ?? this.displayCapHeight,
textCapHeight: textCapHeight ?? this.textCapHeight,
);