mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? images(
    1. UPostEmbedImages value
    )?,
  2. TResult? video(
    1. UPostEmbedVideo value
    )?,
  3. TResult? external(
    1. UPostEmbedExternal value
    )?,
  4. TResult? record(
    1. UPostEmbedRecord value
    )?,
  5. TResult? recordWithMedia(
    1. UPostEmbedRecordWithMedia value
    )?,
  6. TResult? unknown(
    1. UPostEmbedUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UPostEmbedImages value)? images,
  TResult? Function(UPostEmbedVideo value)? video,
  TResult? Function(UPostEmbedExternal value)? external,
  TResult? Function(UPostEmbedRecord value)? record,
  TResult? Function(UPostEmbedRecordWithMedia value)? recordWithMedia,
  TResult? Function(UPostEmbedUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;