Dart Programming – Map Property Length

  • Post author:
  • Post category:Dart
  • Post comments:2 Comments
Dart Programming map property  length

In this guide, we will discuss Map Property Length in Dart Programming Language. Returns the size of the Map.

Syntax

Map.length 

Example

void main() {
   var details = {'Usrname':'tom','Password':'pass@123'};
   print(details.length);
}

It will produce the following output −

2

Next Topic : Click Here

This Post Has 2 Comments

Leave a Reply