maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult cut(
    1. LddCommand_Cut value
    )?,
  2. TResult reset(
    1. LddCommand_Reset value
    )?,
  3. TResult printModeDefault(
    1. LddCommand_PrintModeDefault value
    )?,
  4. TResult selectCharset(
    1. LddCommand_SelectCharset value
    )?,
  5. TResult selectCodeTable(
    1. LddCommand_SelectCodeTable value
    )?,
  6. TResult selectFont(
    1. LddCommand_SelectFont value
    )?,
  7. TResult underlineOff(
    1. LddCommand_UnderlineOff value
    )?,
  8. TResult underline1Dot(
    1. LddCommand_Underline1Dot value
    )?,
  9. TResult underline2Dot(
    1. LddCommand_Underline2Dot value
    )?,
  10. TResult boldOn(
    1. LddCommand_BoldOn value
    )?,
  11. TResult boldOff(
    1. LddCommand_BoldOff value
    )?,
  12. TResult bitmap(
    1. LddCommand_Bitmap value
    )?,
  13. TResult noLine(
    1. LddCommand_NoLine value
    )?,
  14. TResult resetLine(
    1. LddCommand_ResetLine value
    )?,
  15. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(LddCommand_Cut value)? cut,
  TResult Function(LddCommand_Reset value)? reset,
  TResult Function(LddCommand_PrintModeDefault value)? printModeDefault,
  TResult Function(LddCommand_SelectCharset value)? selectCharset,
  TResult Function(LddCommand_SelectCodeTable value)? selectCodeTable,
  TResult Function(LddCommand_SelectFont value)? selectFont,
  TResult Function(LddCommand_UnderlineOff value)? underlineOff,
  TResult Function(LddCommand_Underline1Dot value)? underline1Dot,
  TResult Function(LddCommand_Underline2Dot value)? underline2Dot,
  TResult Function(LddCommand_BoldOn value)? boldOn,
  TResult Function(LddCommand_BoldOff value)? boldOff,
  TResult Function(LddCommand_Bitmap value)? bitmap,
  TResult Function(LddCommand_NoLine value)? noLine,
  TResult Function(LddCommand_ResetLine value)? resetLine,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;