get method
T
get()
Unwrap a Result in which both the success and failure values have the same type.
Implementation
T get() => switch (this) {
Success(value: final value) => value,
Failure(reason: final reason) => reason,
};