mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? record(
    1. UMessageInputEmbedRecord value
    )?,
  2. TResult? unknown(
    1. UMessageInputEmbedUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UMessageInputEmbedRecord value)? record,
  TResult? Function(UMessageInputEmbedUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;