copyWith method
      
PosStyles
copyWith({ 
    
    
- bool? bold,
 - bool? reverse,
 - bool? underline,
 - bool? turn90,
 - PosAlign? align,
 - PosTextSize? height,
 - PosTextSize? width,
 - PosFontType? fontType,
 - String? codeTable,
 
Implementation
PosStyles copyWith({
  bool? bold,
  bool? reverse,
  bool? underline,
  bool? turn90,
  PosAlign? align,
  PosTextSize? height,
  PosTextSize? width,
  PosFontType? fontType,
  String? codeTable,
}) {
  return PosStyles(
    bold: bold ?? this.bold,
    reverse: reverse ?? this.reverse,
    underline: underline ?? this.underline,
    turn90: turn90 ?? this.turn90,
    align: align ?? this.align,
    height: height ?? this.height,
    width: width ?? this.width,
    fontType: fontType ?? this.fontType,
    codeTable: codeTable ?? this.codeTable,
  );
}