JsonArgAlias class
An annotation to be placed on the building buildCustom
function that can
alias a particular parameter. A typical use case for this would be to
maintain JSON compatibility if a parameter is renamed, or to standardize
names across a family of widgets (like aliasing slivers
to children
on
SliverGrid for consistency).
- Annotations
-
- @Target({TargetKind.method})
Constructors
- JsonArgAlias({required String alias, required String name})
-
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