termsOfUse property

String termsOfUse

The terms of use of the item.

It is stored in the "licenseInfo" property in json. The property can contain HTML markup.

Implementation

String get termsOfUse {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Item_getTermsOfUse(_handle, errorHandler);
  });
  return stringHandle.toDartString();
}
void termsOfUse=(String value)

Implementation

set termsOfUse(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_Item_setTermsOfUse(_handle, coreValue.bytes, errorHandler);
  });
}