mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? threadViewPost(
    1. UGetPostThreadThreadThreadViewPost value
    )?,
  2. TResult? notFoundPost(
    1. UGetPostThreadThreadNotFoundPost value
    )?,
  3. TResult? blockedPost(
    1. UGetPostThreadThreadBlockedPost value
    )?,
  4. TResult? unknown(
    1. UGetPostThreadThreadUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UGetPostThreadThreadThreadViewPost value)? threadViewPost,
  TResult? Function(UGetPostThreadThreadNotFoundPost value)? notFoundPost,
  TResult? Function(UGetPostThreadThreadBlockedPost value)? blockedPost,
  TResult? Function(UGetPostThreadThreadUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;