Either<T, R> constructor
const
Either<T, R> ({
- T? ok,
- R? nok,
Construct a new instance.
Implementation
const Either({this.ok, this.nok});
Construct a new instance.
const Either({this.ok, this.nok});