setPublicReadAccess method

void setPublicReadAccess({
  1. required bool allowed,
})

Set whether the public is allowed to read this object.

Implementation

void setPublicReadAccess({required bool allowed}) {
  setReadAccess(userId: _publicKEY, allowed: allowed);
}