isPublic method

bool isPublic()

whether or not this space is public

Implementation

bool isPublic() {
  var tmp0 = 0;
  tmp0 = _box.borrow();
  final tmp1 = _api._spaceIsPublic(
    tmp0,
  );
  final tmp3 = tmp1;
  final tmp2 = tmp3 > 0;
  return tmp2;
}