Dart编程实例 - Map clear() 方法
void main() {
Map m = {'name':'Tom','Id':'E1001'};
print('Map :${m}');
m.clear();
print('Map after invoking clear() :${m}');
}
void main() {
Map m = {'name':'Tom','Id':'E1001'};
print('Map :${m}');
m.clear();
print('Map after invoking clear() :${m}');
}