PortalGroup class final

Collections of fully populated PortalGroup objects can be obtained by calling the Portal.findGroups, Portal.fetchFeaturedGroups, and PortalItem.fetchGroups methods, and from the PortalUser.groups property. The load status of such objects is LoadStatus.loaded.

Alternatively, a PortalGroup object can be constructed using PortalGroup.PortalGroup(Portal, String) if the group ID is known. In this case the load status is initially LoadStatus.notLoaded and the object needs to be loaded to populate its properties.

The portal group owner is automatically an administrator and is returned in the list of admins. The access property determines the visibility of the group to other users. If the group is private, no one except the administrators and the members of the group can see it. If the group is shared with an organization, then all members of the organization can see the group.

Administrators can invite, add to, and remove members from a group, and also update and delete the group. The administrator for an organization may also reassign the group to another member of the organization. Group members may leave the group. Authenticated users may apply to join a group.

Mixed in types

Constructors

PortalGroup({required Portal portal, required String groupId})
Constructor for use when the group ID is known.

Properties

groupId String
The identifier of the group.
latefinal
hashCode int
The hash code for this object.
no setterinherited
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
onLoadStatusChanged Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
portal Portal
The portal to which the group belongs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
latefinal

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
load() Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retryLoad() Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited