JsonArgDecoder class
An annotation to be placed on a function that can decode (parse) a particular widget parameter. This can be used to perform custom processing, to provide custom defaults, or to simply decode values that have no built in decoders.
This requires the name (or alias) of the parameter from the Widget being built so the code generator knows to use this method and not try to use a default decoder.
The function that is annotated with this must be an instance function.
- Annotations
-
- @Target({TargetKind.method})
Constructors
- JsonArgDecoder(String param)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited