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