when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult pyint(),
- required TResult pydouble(),
- required TResult pytuple(
- List<
PyTypeAnnotation> elements
- List<
- required TResult pylist(
- PyTypeAnnotation listType
- required TResult pymap(
- PyTypeAnnotation keyType,
- PyTypeAnnotation valueType
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() pyint,
required TResult Function() pydouble,
required TResult Function(List<PyTypeAnnotation> elements) pytuple,
required TResult Function(PyTypeAnnotation listType) pylist,
required TResult Function(
PyTypeAnnotation keyType, PyTypeAnnotation valueType)
pymap,
}) =>
throw _privateConstructorUsedError;