PyTypeAnnotation class abstract
Annotation for a dart function to automatically create the python bindings
Work in progress
Constructors
- PyTypeAnnotation.pydouble()
-
constfactory
- PyTypeAnnotation.pyint()
-
constfactory
- PyTypeAnnotation.pylist(PyTypeAnnotation listType)
-
constfactory
- PyTypeAnnotation.pymap(PyTypeAnnotation keyType, PyTypeAnnotation valueType)
-
constfactory
-
PyTypeAnnotation.pytuple(List<
PyTypeAnnotation> elements) -
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult pyint(PyInt value), required TResult pydouble(PyDouble value), required TResult pytuple(PyTuple value), required TResult pylist(PyList value), required TResult pymap(PyMap value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? pyint(PyInt value)?, TResult? pydouble(PyDouble value)?, TResult? pytuple(PyTuple value)?, TResult? pylist(PyList value)?, TResult? pymap(PyMap value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult pyint(PyInt value)?, TResult pydouble(PyDouble value)?, TResult pytuple(PyTuple value)?, TResult pylist(PyList value)?, TResult pymap(PyMap value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult pyint()?, TResult pydouble()?, TResult pytuple(List< PyTypeAnnotation> elements)?, TResult pylist(PyTypeAnnotation listType)?, TResult pymap(PyTypeAnnotation keyType, PyTypeAnnotation valueType)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult pyint(), required TResult pydouble(), required TResult pytuple(List< PyTypeAnnotation> elements), required TResult pylist(PyTypeAnnotation listType), required TResult pymap(PyTypeAnnotation keyType, PyTypeAnnotation valueType)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? pyint()?, TResult? pydouble()?, TResult? pytuple(List< PyTypeAnnotation> elements)?, TResult? pylist(PyTypeAnnotation listType)?, TResult? pymap(PyTypeAnnotation keyType, PyTypeAnnotation valueType)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited