Optional<T>.fromNullable constructor
const
Optional<T>.fromNullable (
- T? value
Implementation
const Optional.fromNullable(T? value) : _value = value;
const Optional.fromNullable(T? value) : _value = value;