SdkFeatures class
Feature flags controlling the visibility of user-facing SDK surfaces.
Configured in the CupThread Developer Console and synced at runtime.
Example
const features = SdkFeatures(
feedback: true,
featureRequests: true,
roadmap: true,
changelog: false,
);
Constructors
- SdkFeatures({bool feedback = true, bool featureRequests = true, bool roadmap = true, bool changelog = true})
-
Creates an SdkFeatures set with customizable surface toggles.
const
-
SdkFeatures.fromJson(Map<
String, dynamic> ? json) -
Deserializes SdkFeatures from a nullable JSON map.
factory
Properties
- changelog → bool
-
Whether changelog release notes and What's New screen are enabled.
final
- featureRequests → bool
-
Whether the feature request voting and submission board is enabled.
final
- feedback → bool
-
Whether in-app feedback collection form is enabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- roadmap → bool
-
Whether the public Kanban roadmap board is enabled.
final
- 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
-
toJson(
) → Map< String, dynamic> - Serializes SdkFeatures to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited