Union<A, B> constructor
const
Union<A, B> (
- dynamic value
Implementation
const Union(this.value) : assert(value is A || value is B);
const Union(this.value) : assert(value is A || value is B);