AdControl class
Global ad control manager
Constructors
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
- config → AdGlobalConfig
-
no setter
-
globalEnable
→ ValueNotifier<
bool> -
Stream of global enable state
no setter
- isEnable → bool
-
Current global enable value
no setter
- isGlobalEnable → bool
-
no setter
Static Methods
-
loadGlobalEnableFromPreferences(
) → void - Load global enable value from preferences (fallback when remote config missing)
-
updateGlobalEnable(
bool enable) → void - Update global enable state manually (persists to preferences)
Constants
- globalEnableKey → const String