union_type library

Dart union type library.

Classes

TypedList
A list that asserts that its members match a given UnionType.
UnionType
Represents a union of multiple types.

Exceptions / Errors

UnionTypeException
Thrown when an invalid object is used as a type.