getOrThrow method
T
getOrThrow()
Implementation
T getOrThrow() => isSuccess ? (this as Success<T>).data : throw getException()!;
T getOrThrow() => isSuccess ? (this as Success<T>).data : throw getException()!;