InBrainOnCloseHandler typedef
InBrainOnCloseHandler =
void Function(bool closedByWebView, List<InBrainNativeReward> ? rewards)
At the moment only first Native Survey reward is delivered. That means if the user complete a Native Survey, proceed to Survey Wall and complete one more survey - only first reward will be delivered. In case of Survey Wall usage only - no rewards will be delivered.
Implementation
typedef InBrainOnCloseHandler = void Function(
bool closedByWebView, List<InBrainNativeReward>? rewards);