unwrap property
T
get
unwrap
Implementation
T get unwrap {
switch (this) {
case MaybeValue<T>(:final value):
return value;
case MaybeError<T>(:final error, :final stackTrace):
if (stackTrace != null) {
Error.throwWithStackTrace(error, stackTrace);
}
throw error;
}
}