throwPageException method

  1. @Doc(message: '抛出页面异常')
void throwPageException(
  1. String msg
)

Implementation

@Doc(message: '抛出页面异常')
void throwPageException(String msg) {
  if (mounted) {
    setState(() {
      exception = PageException(msg);
    });
  }
}