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