rmlSchemaTypes function

String rmlSchemaTypes({
  1. bool json = false,
})

Every authorable core type name: the same answer rive schema --list gives.

Throws when markupAvailable is false.

Implementation

String rmlSchemaTypes({bool json = false}) {
  _requireMarkup();
  final response = calloc<_RmlSchemaTextResponseStruct>();
  try {
    _rmlSchemaTypes(json, response);
    return _decodeSchemaText(response) ?? '';
  } finally {
    _freeRmlSchemaText(response);
    calloc.free(response);
  }
}