maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<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
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

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