success property
Success
get
success
Gets the success result of the form submission.
Throws a StateError if the form is not in the BondFormStateStatus.submitted state.
Implementation
Success get success {
if (_success == null || status != BondFormStateStatus.submitted) {
throw StateError(
'Accessing success while form not successfully submitted');
}
return _success!;
}