reset method Null safety

void reset()

Clear super properties and generates a new random distinctId for this instance. Useful for clearing data when a user logs out.

Implementation

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