optInTracking method Null safety

void optInTracking()

Use this method to opt-in an already opted-out user from tracking. People updates and track calls will be sent to Mixpanel after using this method. This method will internally track an opt-in event to your project.

Implementation

void optInTracking() {
  _channel.invokeMethod<void>('optInTracking');
}