maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult threadViewPost(
- ThreadViewPost data
- TResult notFoundPost(
- NotFoundPost data
- TResult blockedPost(
- BlockedPost data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(ThreadViewPost data)? threadViewPost,
TResult Function(NotFoundPost data)? notFoundPost,
TResult Function(BlockedPost data)? blockedPost,
TResult Function(Map<String, dynamic> data)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;