PyArgument class sealed
- Available extensions
- Annotations
-
- @freezed
Constructors
- PyArgument.bool(bool field0)
-
constfactory
- PyArgument.float(double field0)
-
constfactory
- PyArgument.int(PlatformInt64 field0)
-
constfactory
- PyArgument.listInt(Int64List field0)
-
constfactory
-
PyArgument.listStr(List<
String> field0) -
constfactory
- PyArgument.str(String field0)
-
constfactory
Properties
Methods
-
map<
TResult extends Object?> ({required TResult str(PyArgument_Str value), required TResult int(PyArgument_Int value), required TResult float(PyArgument_Float value), required TResult bool(PyArgument_Bool value), required TResult listStr(PyArgument_ListStr value), required TResult listInt(PyArgument_ListInt value)}) → TResult -
Available on PyArgument, provided by the PyArgumentPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> ({TResult? str(PyArgument_Str value)?, TResult? int(PyArgument_Int value)?, TResult? float(PyArgument_Float value)?, TResult? bool(PyArgument_Bool value)?, TResult? listStr(PyArgument_ListStr value)?, TResult? listInt(PyArgument_ListInt value)?}) → TResult? -
Available on PyArgument, provided by the PyArgumentPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> ({TResult str(PyArgument_Str value)?, TResult int(PyArgument_Int value)?, TResult float(PyArgument_Float value)?, TResult bool(PyArgument_Bool value)?, TResult listStr(PyArgument_ListStr value)?, TResult listInt(PyArgument_ListInt value)?, required TResult orElse()}) → TResult -
Available on PyArgument, provided by the PyArgumentPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> ({TResult str(String field0)?, TResult int(PlatformInt64 field0)?, TResult float(double field0)?, TResult bool(bool field0)?, TResult listStr(List< String> field0)?, TResult listInt(Int64List field0)?, required TResult orElse()}) → TResult -
Available on PyArgument, provided by the PyArgumentPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
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 str(String field0), required TResult int(PlatformInt64 field0), required TResult float(double field0), required TResult bool(bool field0), required TResult listStr(List< String> field0), required TResult listInt(Int64List field0)}) → TResult -
Available on PyArgument, provided by the PyArgumentPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> ({TResult? str(String field0)?, TResult? int(PlatformInt64 field0)?, TResult? float(double field0)?, TResult? bool(bool field0)?, TResult? listStr(List< String> field0)?, TResult? listInt(Int64List field0)?}) → TResult? -
Available on PyArgument, provided by the PyArgumentPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited