WINROptions class

Optional behavior toggles for the WINR SDK.

These are non-required settings that customize SDK behavior. Pass them to WINRConfiguration.options when configuring the SDK.

Example:

final options = WINROptions(
  logging: LoggingLevel.debug,
  enablePushReminders: false,
);

Constructors

WINROptions({LoggingLevel logging = LoggingLevel.error, AnalyticsAdapter? analyticsAdapter, bool enablePushReminders = true})
Creates a new WINROptions instance with optional behavior toggles.
const

Properties

analyticsAdapter AnalyticsAdapter?
Custom analytics adapter for tracking events.
final
enablePushReminders bool
Whether to enable push notification reminders.
final
hashCode int
The hash code for this object.
no setterinherited
logging LoggingLevel
Logging level for SDK debug output.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({LoggingLevel? logging, AnalyticsAdapter? analyticsAdapter, bool? enablePushReminders}) WINROptions
Creates a copy with the given fields replaced.
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