isDirectlyOwnedGroup method

bool isDirectlyOwnedGroup(
  1. EntityGroupInfo entityGroup
)

Implementation

bool isDirectlyOwnedGroup(EntityGroupInfo entityGroup) {
  if (entityGroup.ownerId != null) {
    return _idsEqual(userOwnerId, entityGroup.ownerId!);
  } else {
    return false;
  }
}