Dartkarte klar
void main() {
Map m = {'name':'Tom','Id':'E1001'};
print('Map :${m}');
m.clear();
print('Map after invoking clear() :${m}');
}
Shadow
void main() {
Map m = {'name':'Tom','Id':'E1001'};
print('Map :${m}');
m.clear();
print('Map after invoking clear() :${m}');
}