onTrackConsentGranted method

void onTrackConsentGranted(
  1. MethodCall call
)

Implementation

void onTrackConsentGranted(MethodCall call) {
  var message = EventMessageReader.withConsentGranted(call.arguments);
  SnowplowTrackerController.trackEvent(message);
}