Shared input surface for task execution contexts that retain invocation args.
- Implementers
- Available extensions
Properties
Methods
-
arg<
T> (String key, {Codec< T, Object?> ? codec}) → T? -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg forkey, ornull. -
argJson<
T> (String key, {required T decode(Map< String, dynamic> payload), String? typeName}) → T? -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg DTO forkey, ornull. -
argJsonOr<
T> (String key, T fallback, {required T decode(Map< String, dynamic> payload), String? typeName}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg DTO forkey, orfallback. -
argListJson<
T> (String key, {required T decode(Map< String, dynamic> payload), String? typeName}) → List<T> ? -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg DTO list forkey, ornull. -
argListJsonOr<
T> (String key, List< T> fallback, {required T decode(Map<String, dynamic> payload), String? typeName}) → List<T> -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg DTO list forkey, orfallback. -
argListVersionedJson<
T> (String key, {required T decode(Map< String, dynamic> payload, int version), int defaultVersion = 1, int? defaultDecodeVersion, String? typeName}) → List<T> ? -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded version-aware task arg DTO list forkey, ornull. -
argListVersionedJsonOr<
T> (String key, List< T> fallback, {required T decode(Map<String, dynamic> payload, int version), int defaultVersion = 1, int? defaultDecodeVersion, String? typeName}) → List<T> -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded version-aware task arg DTO list forkey, orfallback. -
argOr<
T> (String key, T fallback, {Codec< T, Object?> ? codec}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg forkey, orfallback. -
argsAs<
T> ({required Codec< T, Object?> codec}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Decodes the full task-argument payload throughcodec. -
argsJson<
T> ({required T decode(Map< String, dynamic> payload), String? typeName}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Decodes the full task-argument payload as a DTO. -
argsVersionedJson<
T> ({required T decode(Map< String, dynamic> payload, int version), int defaultVersion = 1, int? defaultDecodeVersion, String? typeName}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Decodes the full task-argument payload as a version-aware DTO. -
argVersionedJson<
T> (String key, {required T decode(Map< String, dynamic> payload, int version), int defaultVersion = 1, int? defaultDecodeVersion, String? typeName}) → T? -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded version-aware task arg DTO forkey, ornull. -
argVersionedJsonOr<
T> (String key, T fallback, {required T decode(Map< String, dynamic> payload, int version), int defaultVersion = 1, int? defaultDecodeVersion, String? typeName}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded version-aware task arg DTO forkey, orfallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requiredArg<
T> (String key, {Codec< T, Object?> ? codec}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg forkey, throwing when absent. -
requiredArgJson<
T> (String key, {required T decode(Map< String, dynamic> payload), String? typeName}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg DTO forkey, throwing when absent. -
requiredArgListJson<
T> (String key, {required T decode(Map< String, dynamic> payload), String? typeName}) → List<T> -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded task arg DTO list forkey, throwing when absent. -
requiredArgListVersionedJson<
T> (String key, {required T decode(Map< String, dynamic> payload, int version), int defaultVersion = 1, int? defaultDecodeVersion, String? typeName}) → List<T> -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded version-aware task arg DTO list forkey, throwing when absent. -
requiredArgVersionedJson<
T> (String key, {required T decode(Map< String, dynamic> payload, int version), int defaultVersion = 1, int? defaultDecodeVersion, String? typeName}) → T -
Available on TaskInputContext, provided by the TaskInputContextArgs extension
Returns the decoded version-aware task arg DTO forkey, throwing when absent. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited