setDebug static method

Future<void> setDebug(
  1. {bool getLocalFakeData = true,
  2. bool forceCMP = false,
  3. bool useProductionAuctionServer = false}
)

Wheather getLocalFakeData is set to true, makes the SDK debug mode which means:

  • Test host and account ID will be used from the configuration unless realServer flag is changed.
  • All CMP configurations will be fake.
  • Global configuration will be fake including publisher and user configurations, unless realServer flag is true. COMMENT forceCMP and useProductionAuctionServer

Implementation

static Future<void> setDebug(
        {bool getLocalFakeData = true,
        bool forceCMP = false,
        bool useProductionAuctionServer = false}) => R89SdkPlatformInterface.instance().setDebug(
        DebugEntity(getLocalFakeData, forceCMP, useProductionAuctionServer));