catalog property

String? get catalog

The id of the catalog describing what the agent may render. Defaults to 'basic' (the bundled basic catalog). Register additional catalogs with loadCatalog(ai, id: ..., catalog: ...) and reference them by id.

Implementation

String? get catalog {
  return _json['catalog'] as String?;
}
set catalog (String? value)

The id of the catalog describing what the agent may render. Defaults to 'basic' (the bundled basic catalog). Register additional catalogs with loadCatalog(ai, id: ..., catalog: ...) and reference them by id.

Implementation

set catalog(String? value) {
  if (value == null) {
    _json.remove('catalog');
  } else {
    _json['catalog'] = value;
  }
}