map<TResult extends Object?> method

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

Implementation

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