mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? threadViewPost(
    1. UThreadViewPostReplyThreadViewPost value
    )?,
  2. TResult? notFoundPost(
    1. UThreadViewPostReplyNotFoundPost value
    )?,
  3. TResult? blockedPost(
    1. UThreadViewPostReplyBlockedPost value
    )?,
  4. TResult? unknown(
    1. UThreadViewPostReplyUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UThreadViewPostReplyThreadViewPost value)? threadViewPost,
  TResult? Function(UThreadViewPostReplyNotFoundPost value)? notFoundPost,
  TResult? Function(UThreadViewPostReplyBlockedPost value)? blockedPost,
  TResult? Function(UThreadViewPostReplyUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;