
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
Pingback: Dart Programming - Map Property Values | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - Map | Adglob Infosystem Pvt Ltd