PyMap class Null safety

Implemented types

Constructors

PyMap(PyTypeAnnotation keyType, PyTypeAnnotation valueType)
const
factory

Properties

copyWith → $PyMapCopyWith<PyMap>
@JsonKey(ignore: true), read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
keyType PyTypeAnnotation
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
valueType PyTypeAnnotation
read-only

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
@optionalTypeArgs, 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
@optionalTypeArgs, 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
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
@optionalTypeArgs, inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited