map<TResult extends Object?> method

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

Implementation

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