Err<T> constructor
Err<T> (
- Error? _err
Create "failed" result. Err(StateError('Some error'));
Implementation
Err(this._err) {
ArgumentError.checkNotNull(err);
}
Create "failed" result. Err(StateError('Some error'));
Err(this._err) {
ArgumentError.checkNotNull(err);
}