get method
Success
get()
Implementation
Success get() {
assert(success != null || error != null);
if (success != null) {
return success!;
} else {
throw error!;
}
}
Success get() {
assert(success != null || error != null);
if (success != null) {
return success!;
} else {
throw error!;
}
}