A2uiCatalogFunction class

A client function's API (required, regex, openUrl, ...), used for ?check rules and client-side calls.

Constructors

A2uiCatalogFunction({required String name, required Map<String, dynamic> schema})
Creates an A2uiCatalogFunction.
const
A2uiCatalogFunction.fromJson(String name, Map<String, dynamic> schema)
Builds an A2uiCatalogFunction from a catalog.json entry, keeping a frozen copy of schema.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The function name, e.g. regex.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → Map<String, dynamic>
The function's JSON Schema, in the spec's catalog.json shape.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this function back to its catalog.json schema.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited