initializedSuccessfully method
- @protected
- T result
The method that marks the object has been initialized successfully.
Implementation
@protected
void initializedSuccessfully(T result) {
if (_completer.isCompleted) {
throw EnsureInitializedException('Object was already initialized');
}
_completer.complete(result);
}