title: How to print a message when an assert fails, in Dart?
body: <p>We'd like to print a message when an <code>assert()</code> fails. Currently in Dart, an assert only takes a boolean. We'd like to give the developer explicit reasons and instructions for what to do when the assert fails.</p>