supportedApplets property

Set<String> get supportedApplets

PHP applet URLs enabled for the current session and account type.

Implementation

Set<String> get supportedApplets {
  if (_session == null || _activeAccount == null) return const {};
  final type = _activeAccount!.accountType ?? _session!.accountTypeOrNull;
  if (type == null) return const {};
  return {
    for (final applet in Applets.all)
      if (_session!.doesSupportFeature(applet, overrideAccountType: type))
        applet.appletPhpUrl,
  };
}