---
title: "Discussion on \"Object Oriented Programming in Dart: Encapsulation\" | Hashnode"
description: "Discussion on \"Object Oriented Programming in Dart: Encapsulation\". What is Encapsulation in Dart? Real-World Example of Encapsulation. What is `_` (Underscore) in Dart? How to write secure and reliable code?"
url: "https://hashnode.com/posts/object-oriented-programming-in-dart-encapsulation/6321576607b360723689c642"
---

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

Discussion

# [Object Oriented Programming in Dart: Encapsulation](https://dhruvnakum.xyz/object-oriented-programming-in-dart-encapsulation?utm_source=hashnode&utm_medium=feed)

What is Encapsulation in Dart? Real-World Example of Encapsulation. What is \`\_\` (Underscore) in Dart? How to write secure and reliable code?

Sep 14, 2022 · 5 min read · dhruvnakum.xyz  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Dhruv Nakum](https://hashnode.com/@Dhruv-Nakum)

@Dhruv-Nakum · India

  
[View profile](https://hashnode.com/@Dhruv-Nakum)

Developer 👨‍💻

I'm a mobile/web developer 👨‍💻 who loves to build projects and share valuable tips for programmers Follow me for Flutter, React/Next.js, and other awesome tech-related stuff 😉

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
