OcmConfig class
Local SDK configuration passed to OcmFlutterPlugin.initializeWithConfig.
- Annotations
Constructors
-
OcmConfig({required List<
OcmAdUnit> adUnits, required OcmGamConfig gam, required OcmPrivacyConfig privacy}) -
Creates a configuration from ad units, GAM settings and privacy flags.
const
Properties
-
adUnits
→ List<
OcmAdUnit> -
The ad units the app can request.
final
- gam → OcmGamConfig
-
Google Ad Manager settings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- privacy → OcmPrivacyConfig
-
Privacy signals sent with ad requests.
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
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited