• Nate Bosch's avatar
    Handle onError callback with optional argument (#43436) · 7cf362fc
    Nate Bosch authored
    Check for a binary callback first since a function with an optional
    second argument will match both typedefs.
    
    Remove documentation around a synchronous error following some other
    error or value - a synchronous error can never follow a value or an
    asynchronous error. If there is a synchronous error it will _always_ be
    the first thing to happen.
    
    Add a test for a unary error handler and an error handler with an
    optional stack trace argument.
    7cf362fc
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.codecov.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...