PublicAppConfig class
Public application configuration returned by GET /api/v1/public/config/:appKey.
Contains branding, permissions, allowed platforms, and SDK appearance settings.
Example
final config = await client.fetchAppConfig();
print('App Name: ${config.name}');
print('Allowed platforms: ${config.allowedPlatforms}');
Constructors
-
PublicAppConfig({required String appId, required String appKey, required String slug, required String name, String? storeUrl, String? storeKind, String? iconUrl, required bool allowPublic, required List<
FeedbackPlatform> allowedPlatforms, required int maxAttachmentBytes, required bool allowAnonymousRoadmap, required bool allowAnonymousVote, required bool allowAnonymousFeedback, required bool allowAnonymousChangelog, required SdkAppearance sdk}) -
Creates a PublicAppConfig instance.
const
-
PublicAppConfig.fromJson(Map<
String, dynamic> json) -
Deserializes PublicAppConfig from a server JSON response.
factory
Properties
- allowAnonymousChangelog → bool
-
Whether unauthenticated users can browse the changelog.
final
- allowAnonymousFeedback → bool
-
Whether unauthenticated users can submit feedback drafts.
final
- allowAnonymousRoadmap → bool
-
Whether unauthenticated users can view the roadmap board.
final
- allowAnonymousVote → bool
-
Whether unauthenticated users can upvote feature requests.
final
-
allowedPlatforms
→ List<
FeedbackPlatform> -
List of platforms where the SDK is authorized to run.
final
- allowPublic → bool
-
Whether public access to roadmap and feedback is permitted.
final
- appId → String
-
Unique database ID of the registered application.
final
- appKey → String
-
Public App Key identifier used for client API requests.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconUrl → String?
-
URL of the application's logo or icon.
final
- maxAttachmentBytes → int
-
Maximum allowed size in bytes for uploaded attachments (default 10 MB).
final
- name → String
-
Display name of the application.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdk → SdkAppearance
-
SDK appearance and customization options.
final
- slug → String
-
URL-friendly slug of the application.
final
- storeKind → String?
-
Store ecosystem type (e.g.
'apple','google').final - storeUrl → String?
-
App Store or Play Store product listing URL, if set.
final
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