Jeet Bhalujeetbhalu.hashnode.dev·9 hours agoLists, Sets, Maps or IterablesIterable : Set & List Both List and Set are Iterable, so they have the same methods and properties as the Iterable class. A Map uses a different data structure internally, depending on its implementation. For example, HashMap uses a hash table in w...Discuss#dart language
Jeet Bhalujeetbhalu.hashnode.dev·10 hours agoOperation on iterableYou can perform various operations on iterables using built-in methods and constructs. A iterable use list or set and map A common operation on iterable Iterating Over Elements Mapping Filtering Reducing/Accumulating Checking ContentsDiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·10 hours agoDart IterableWhat is an Iterable? An Iterable is a collection of elements that can be accessed sequentially. n Dart, an Iterable is an abstract class, meaning that you can't instantiate it directly. However, you can create a new Iterable by creating a new List ...DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·11 hours agoDart Spread operationsWhat is spread operation ? Spread Operator (…) and Null-aware Spread Operator (…?) are used for inserting multiple elements in a collection like Lists, Maps, etc.DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·11 hours agoDart Maps , classes , Json in dartWhat is Map? A Map is collection of key and value. A key are unique within a map. What is classes? A Dart is a object oriented language so you can define classes to model your data. classes are blueprints for creating objects. objects by encap...DiscussDart
Adityaraj Honraopatiladityarajhblog.hashnode.dev·18 hours agoLearning JavaScript: Day 4 (Objects, Methods & Classes)A longer session today. We have tried to remain disciplined, but couldn’t due to work commitments. So we learned about “Objects” today. I have worked with them before with C++. But learnt how they are treated in JS like. So the key takeaways were: PA...DiscussJavaScript
Anshuman Tiwarianshuman-tiwari.hashnode.dev·Mar 27, 2024OOPs (Object Oriented Programming)Just as the name sounds when developer begins to learn Object Oriented Programming their mind get feeling of Oops 😬. Yep, Oops is hard for absolute beginner to grasp. However, Once you get familiar with Object Oriented Programming you will fall in l...DiscussObject Oriented Programming
Jeet Bhalujeetbhalu.hashnode.dev·Mar 27, 2024Map Operations | Map Extensions | Map MethodsMap Operations: Maps are used to store key-value pairs, where each key is unique. Adding or Updating Entries Removing Entries Checking for Key Existence Map Extension: You to create extensions to add functionality to existing types, including ...DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·Mar 27, 2024Dart MapThe Map object is a simple key/value pair. Keys and values in a map may be of any type. You can create a map in Dart using the Map constructor or map literals ({}). To declare a Map using a Map constructor, we have two steps. First, declare the map...DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·Mar 27, 2024Set Relationshipsets are collections of unique elements, and you can perform various operations on sets to establish relationships between them. Subset Relationship Example void main() { Set<int> setA = {1, 2}; Set<int> setB = {1, 2, 3, 4}; bool isSubset = s...DiscussDart