JsonArgSchema class

An annotation to be placed on a function that can provide the schema for a particular widget parameter. This would typically be used in conjunction with the JsonArgDecoder to provide a schema for whatever the custom decoder supports.

The function that is annotated with this must be static and it must return a value that is supported by JsonEncoder.

Annotations
  • @Target({TargetKind.method})

Constructors

JsonArgSchema(String param)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
param String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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