diff --git a/packages/mediation/gma_mediation_liftoffmonetize/lib/gma_mediation_liftoffmonetize.dart b/packages/mediation/gma_mediation_liftoffmonetize/lib/gma_mediation_liftoffmonetize.dart index 17aa986b6..0988861b1 100644 --- a/packages/mediation/gma_mediation_liftoffmonetize/lib/gma_mediation_liftoffmonetize.dart +++ b/packages/mediation/gma_mediation_liftoffmonetize/lib/gma_mediation_liftoffmonetize.dart @@ -17,7 +17,9 @@ import 'package:gma_mediation_liftoffmonetize/liftoff_privacy_api.g.dart'; /// This class has entrypoint to call Liftoff Monetize's SDK APIs. class GmaMediationLiftoffmonetize { Future setGDPRStatus( - bool optedIn, String? consentMessageVersion) async { + bool optedIn, + String? consentMessageVersion, + ) async { await LiftoffPrivacyApi().setGDPRStatus(optedIn, consentMessageVersion); } diff --git a/packages/mediation/gma_mediation_liftoffmonetize/pigeons/liftoff_privacy_api.dart b/packages/mediation/gma_mediation_liftoffmonetize/pigeons/liftoff_privacy_api.dart index 53a2688c6..5e69401fa 100644 --- a/packages/mediation/gma_mediation_liftoffmonetize/pigeons/liftoff_privacy_api.dart +++ b/packages/mediation/gma_mediation_liftoffmonetize/pigeons/liftoff_privacy_api.dart @@ -14,18 +14,21 @@ import 'package:pigeon/pigeon.dart'; -@ConfigurePigeon(PigeonOptions( - dartOut: 'lib/liftoff_privacy_api.g.dart', - dartOptions: DartOptions(), - kotlinOut: - 'android/src/main/kotlin/io/flutter/plugins/googlemobileads/mediation/gma_mediation_liftoffmonetize/LiftoffPrivacyApi.g.kt', - kotlinOptions: KotlinOptions( +@ConfigurePigeon( + PigeonOptions( + dartOut: 'lib/liftoff_privacy_api.g.dart', + dartOptions: DartOptions(), + kotlinOut: + 'android/src/main/kotlin/io/flutter/plugins/googlemobileads/mediation/gma_mediation_liftoffmonetize/LiftoffPrivacyApi.g.kt', + kotlinOptions: KotlinOptions( package: - 'io.flutter.plugins.googlemobileads.mediation.gma_mediation_liftoffmonetize'), - swiftOut: 'ios/Classes/LiftoffPrivacyApi.g.swift', - swiftOptions: SwiftOptions(), - dartPackageName: 'gma_mediation_liftoffmonetize', -)) + 'io.flutter.plugins.googlemobileads.mediation.gma_mediation_liftoffmonetize', + ), + swiftOut: 'ios/Classes/LiftoffPrivacyApi.g.swift', + swiftOptions: SwiftOptions(), + dartPackageName: 'gma_mediation_liftoffmonetize', + ), +) @HostApi() /// The generated classes set the channels to call the methods in the corresponding kotlin LiftoffPrivacyApi interface and swift LiftoffPrivacyApi protocol from the dart layer.