setTestDeviceIds static method

Future<void> setTestDeviceIds(
  1. List<String> ids
)

Sets a list of test device IDs corresponding to test devices which will always request test ads. The test device ID for the current device is logged in logcat when the first ad request is made. Be sure to remove the code that sets these test device IDs before you release your app.

Learn more

Pass null to clear the list

Implementation

static Future<void> setTestDeviceIds(List<String> ids) {
  return _pluginChannel.invokeMethod('setTestDeviceIds', {'ids': ids});
}