resultOr method
T
resultOr(
- T or
Returns the result a the specified value
Implementation
T resultOr(T or) => switch (this) {
Success(value: final v) => v,
_ => or,
};
Returns the result a the specified value
T resultOr(T or) => switch (this) {
Success(value: final v) => v,
_ => or,
};