maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult postView(
    1. UReplyRefParentPostView value
    )?,
  2. TResult notFoundPost(
    1. UReplyRefParentNotFoundPost value
    )?,
  3. TResult blockedPost(
    1. UReplyRefParentBlockedPost value
    )?,
  4. TResult unknown(
    1. UReplyRefParentUnknown value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UReplyRefParentPostView value)? postView,
  TResult Function(UReplyRefParentNotFoundPost value)? notFoundPost,
  TResult Function(UReplyRefParentBlockedPost value)? blockedPost,
  TResult Function(UReplyRefParentUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;