maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult postView(
    1. UReplyRefRootPostView value
    )?,
  2. TResult notFoundPost(
    1. UReplyRefRootNotFoundPost value
    )?,
  3. TResult blockedPost(
    1. UReplyRefRootBlockedPost value
    )?,
  4. TResult unknown(
    1. UReplyRefRootUnknown value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UReplyRefRootPostView value)? postView,
  TResult Function(UReplyRefRootNotFoundPost value)? notFoundPost,
  TResult Function(UReplyRefRootBlockedPost value)? blockedPost,
  TResult Function(UReplyRefRootUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;