get method
T
get()
Implementation
T get() {
if (!isSuccess()) throw Exception("Could not get value of Failure Result");
return (this as _Success).value as T;
}
T get() {
if (!isSuccess()) throw Exception("Could not get value of Failure Result");
return (this as _Success).value as T;
}