inngageUpdate method

void inngageUpdate({
  1. InngageProps? inngageProps,
})

Implementation

void inngageUpdate({InngageProps? inngageProps}) {
  this.inngageProps = inngageProps ?? this.inngageProps;

  if (GetIt.I.isRegistered<InngageAnalyticsImpl>()) {
    GetIt.I.unregister<InngageAnalyticsImpl>();
  }

  if (inngageProps != null) {
    GetIt.I.registerSingleton(InngageAnalyticsImpl(props: inngageProps));
  }
}