Dart Programming - Map Property Keys



Returns an iterable object representing keys.

Syntax

 Map.keys 

Example

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

It will produce the following output

 (Usrname, Password) 
dart_programming_map.htm
Advertisements