DSConstants constructor

DSConstants({
  1. required VoidCallback? then,
})

Implementation

DSConstants({required VoidCallback? then}) {
  assert(_instance == null);
  _instance = this;
  unawaited(() async {
    await internalInit();
    _isInitialized = true;
    then?.call();
  }());
}