get method

T? get()

Returns the last resolved element T.

Implementation

T? get() {
  if (!_resolved) {
    _element = resolver();
    _resolved = true;
  }
  return _element;
}