Mukul Latiyan has Published 474 Articles

Runes in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 24-May-2021 11:56:45

322 Views

We know that strings in Dart are a sequence of Unicode UTF-16 characters. Dart Runes are actually UTF-32 Unicode code points.They are UTF-32 string which is used to print special symbols.For example, the theta symbol in dart is displayed when we assign the Unicode equivalent value of '\u0398' to a ... Read More

Return statement in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 24-May-2021 11:56:14

1K+ Views

There are certain cases where we want to return a value from a given function so that we can use it later. These return values make use of a return keyword which in turn allows a function to return values.It should be noted that the return statement is optional, if ... Read More

Relational Operators in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 24-May-2021 11:55:54

636 Views

Relational operators are used in cases where we want to compare two operands. The result when we use a relational operator between two operands is always a Boolean value.There are different types of relational operators present in Dart. In the table shown below all the relational operators present in dart ... Read More

Read and Write Input in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 24-May-2021 11:55:32

2K+ Views

Dart provides us with a standard library named 'io' which contains different classes and in turn, these classes contains different methods that we can use to read or write input from the terminal.We import the library in our program by making use of the import command.ExampleConsider the example shown below ... Read More

Queue in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 24-May-2021 11:55:04

338 Views

A queue is a collection of objects. In Dart, we can do operations on both ends of the queue.A queue can be created by making use of the Queue class this present inside the collection library of dart.ExampleConsider the example shown below − Live Demoimport 'dart:collection'; void main() {    var ... Read More

Optional Parameters in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 24-May-2021 11:54:25

6K+ Views

Optional parameters are those parameters that don't need to be specified when calling the function. Optional parameters allow us to pass default values to parameters that we define. There are two types of optional parameters, mainly −Ordered (positional) optional parametersNamed optional parametersOrdered Optional ParametersOrdered optional parameters are those parameters that ... Read More

Null Aware Operators in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 24-May-2021 11:53:55

502 Views

Dart has different null aware operators that we can use to make sure that we are not accessing the null values and to deal with them in a subtle way.Mainly, these are −?? operator??= operator? operatorWe will go through each of them in the following article.?? operatorThe ?? operator returns ... Read More

Maps in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 21-May-2021 13:20:37

367 Views

Maps are very important data structures as they allow us to map keys to some specific values, and later we can get the values from the keys.In Dart, we have different types of maps available to us. These mainly are −HashMapLinkedHashMapSplayTreeMapIn most cases, we make use of LinkedHashMap as it ... Read More

Arithmetic operators in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 21-May-2021 13:18:14

887 Views

Arithmetic operators are used to perform different arithmetic operations.These arithmetic operations mainly are −AdditionSubtractionMultiplicationDivisionModulus, etc.Let's consider that we have two int variables named x and y, where x is storing the value 10 and y is storing the value 20.In the below table, you can see all the arithmetic operators, ... Read More

Inheritance in Dart Programming

Mukul Latiyan

Mukul Latiyan

Updated on 21-May-2021 13:16:52

5K+ Views

Inheritance in dart is defined as the process in which one class derive the properties and characteristics of another class. It is helpful as it provides an ability with which we can create a new class from an existing class.Inheritance is a major component of a programming paradigm known as ... Read More

Advertisements