initializedValue property
Future<T?>
initializedValue
Allows to wait when for the first value being asynchronously read after object creation.
final x = await pi.initializedValue;```
Implementation
Future<T?> get initializedValue =>
this.initialized.then((prefitem) => prefitem.value);