shownError property

String? shownError

Implementation

String? get shownError => isErrorShown ? error : null;