XAppGroup class

Apple App Group containers — the shared filesystem root an app and its extensions (share, notification service, widgets) both mount.

The group id must be listed in every participating target's com.apple.security.application-groups entitlement; without it the lookup yields null rather than failing loudly, so callers that require the container should treat null as a build misconfiguration.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

supported → bool
Whether this platform has app groups at all — iOS and macOS.
no setter

Static Methods

containerPath(String groupId) → Future<String?>
Absolute path of the container directory shared by every target entitled for groupId (FileManager.containerURL(forSecurityApplicationGroupIdentifier:)).