---
title: "Discussion on \"Dart : Assert statement | Assertions\" | Hashnode"
description: "Discussion on \"Dart : Assert statement | Assertions\". Assert Statement :\n\nDuring development, use an assert statement— assert(<condition>, <optionalMessage>); —to disrupt normal execution if a boolean condition is false.\n\n  // Make sure the variable has a non-null value.\n  assert(text != null);\n\n  // Ma..."
url: "https://hashnode.com/posts/dart-assert-statement-assertions/6613bd1e9682bce521b739a4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dart : Assert statement | Assertions](https://jeetbhalu.hashnode.dev/dart-assert-statement-assertions?utm_source=hashnode&utm_medium=feed)

Assert Statement : During development, use an assert statement— assert(<condition>, <optionalMessage>); —to disrupt normal execution if a boolean condition is false. // Make sure the variable has a non-null value. assert(text != null); // Ma...

Apr 8, 2024 · 1 min read · jeetbhalu.hashnode.dev  
Read the article

-   [#dart](https://hashnode.com/tag/dart)
-   [#devops-journey](https://hashnode.com/tag/devops-journey)
-   [#devopscommunity](https://hashnode.com/tag/devopscommunity)
-   [#dart-language](https://hashnode.com/tag/dart-language)
-   [#dart-for-beginners](https://hashnode.com/tag/dart-for-beginners)
-   [#dart-programming-tutorial](https://hashnode.com/tag/dart-programming-tutorial)
-   [#dart-keywords](https://hashnode.com/tag/dart-keywords)
-   [#devops](https://hashnode.com/tag/devops)
-   [#developer](https://hashnode.com/tag/developer)
-   [#devops-articles](https://hashnode.com/tag/devops-articles)
-   [#development](https://hashnode.com/tag/development)
-   [#dev](https://hashnode.com/tag/dev)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Jeet Bhalu](https://hashnode.com/@Jeetbhalu)

@Jeetbhalu

  
[View profile](https://hashnode.com/@Jeetbhalu)

Flutter developer

i am Jeet Bhalu i am flutter App developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
