mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? emoji(
    1. EmojiPageIcon value
    )?,
  2. TResult? file(
    1. FilePageIcon value
    )?,
  3. TResult? customEmoji(
    1. CustomEmojiPageIcon value
    )?,
  4. TResult? notionIcon(
    1. NotionNativePageIcon value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(EmojiPageIcon value)? emoji,
  TResult? Function(FilePageIcon value)? file,
  TResult? Function(CustomEmojiPageIcon value)? customEmoji,
  TResult? Function(NotionNativePageIcon value)? notionIcon,
}) =>
    throw _privateConstructorUsedError;