initialize method

Future<void> initialize({
  1. List<int>? ageGates,
  2. bool useMockData = false,
})

Initializes the plugin with platform-specific configuration.

On iOS, ageGates specifies the age thresholds to use for age verification. For example, 13, 16, 18 will allow the app to determine if the user is under 13, between 13-15, between 16-17, or 18+.

Set useMockData to true to use fake/test data instead of real APIs. This is useful for testing before APIs are available or in development. Defaults to false (use real APIs).

Should be called before checkAgeSignals.

Implementation

Future<void> initialize({List<int>? ageGates, bool useMockData = false}) {
  throw UnimplementedError('initialize() has not been implemented.');
}