Returns null if loaded is false, otherwise returns value.
null
false
TInput? get valueOrNull => loaded ? value : null;