mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? checkChatId(
    1. CheckChatId value
    )?,
  2. TResult? sendImage(
    1. SendImage value
    )?,
  3. TResult? sendMessage(
    1. SendMessage value
    )?,
  4. TResult? editMessage(
    1. EditMessage value
    )?,
  5. TResult? replyMessage(
    1. ReplyMessage value
    )?,
  6. TResult? deleteMessage(
    1. DeleteMessage value
    )?,
  7. TResult? createAndSendMessage(
    1. CreateAndSendMessage value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(CheckChatId value)? checkChatId,
  TResult? Function(SendImage value)? sendImage,
  TResult? Function(SendMessage value)? sendMessage,
  TResult? Function(EditMessage value)? editMessage,
  TResult? Function(ReplyMessage value)? replyMessage,
  TResult? Function(DeleteMessage value)? deleteMessage,
  TResult? Function(CreateAndSendMessage value)? createAndSendMessage,
}) =>
    throw _privateConstructorUsedError;