Uncategorized

Return an error with Dart Future?

If you want to return an error with future just use .catchError(e) after then()

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *