MediationNetworkExtras class

Extras for ONE third-party mediation network on an ad request, mapped to the plugin's MediationExtras mechanism (4.0).

The plugin instantiates androidClassName / iosClassName via reflection on the platform side — they must name a platform class implementing the plugin's FlutterMediationExtras (Android) / FLTMediationExtras (iOS) contract, typically provided by the network's gma_mediation_<network> adapter package. extras is handed to that class to build the network-specific extras object.

This carries request-level extras only. Network privacy signals (Unity's MetaData consent calls, AppLovin's US-state flag, Meta's Limited Data Use) are separate per-network APIs — see doc/MEDIATION_SETUP.md for what remains the integrator's responsibility.

Constructors

MediationNetworkExtras({required String androidClassName, required String iosClassName, Map<String, Object?> extras = const {}})
Creates extras for one network.
const

Properties

androidClassName → String
Fully-qualified Android class implementing FlutterMediationExtras.
final
extras → Map<String, Object?>
The values handed to that class.
final
hashCode → int
The hash code for this object.
no setteroverride
iosClassName → String
iOS class conforming to FLTMediationExtras.
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override