A2uiParam.schema constructor

const A2uiParam.schema(
  1. String name,
  2. Map<String, dynamic> schema, {
  3. bool required = false,
})

A property with a hand-written JSON Schema, for the one property the other kinds do not cover (keeping the rest of the component on A2uiCatalogComponent.simple).

A2uiParam.schema('size', {'type': 'integer', 'minimum': 1, 'maximum': 5})

Implementation

const A2uiParam.schema(
  String name,
  Map<String, dynamic> schema, {
  bool required = false,
}) : this._(name, required: required, rawSchema: schema);