mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? messageView(
    1. UGetMessagesMessageMessageView value
    )?,
  2. TResult? deletedMessageView(
    1. UGetMessagesMessageDeletedMessageView value
    )?,
  3. TResult? unknown(
    1. UGetMessagesMessageUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UGetMessagesMessageMessageView value)? messageView,
  TResult? Function(UGetMessagesMessageDeletedMessageView value)?
      deletedMessageView,
  TResult? Function(UGetMessagesMessageUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;