Result<D>.error constructor
const
Result<D>.error (
- Exception error
Implementation
const factory Result.error(Exception error) = _Error;
const factory Result.error(Exception error) = _Error;