optional library

Classes

Optional<T>
A container object which may contain a non-null value.

Extensions

OptionalExtension on T
OptionalIterableExtension on Iterable<T>
Extensions that apply to all iterables.

Constants

empty → const Optional
A constant, absent Optional.

Exceptions / Errors

NoValuePresentError
Error thrown when attempting to operate on an empty Optional's value.