copyWith method
Implementation
PrinterTextStyle copyWith(
{int? fontBaseWidth,
int? fontBaseHeight,
AlignEnum? align,
String? fontType,
int? fontSize,
bool? fontBlod,
bool? underline,
int? lineSpace,
double? lineHeight}) {
return PrinterTextStyle(
align: align ?? this.align,
fontType: fontType ?? this.fontType,
fontSize: fontSize ?? this.fontSize,
fontBlod: fontBlod ?? this.fontBlod,
underline: underline ?? this.underline,
lineSpace: lineSpace ?? this.lineSpace,
lineHeight: lineHeight ?? this.lineHeight,
);
}