Photo by Denis Cherkashin on Unsplash

Photo by Rod Long on Unsplash

public static void main(String[] args){
int umur…

6. remove()


7. removeWhere()

mahasiswa1.removeWhere((key,value)=> key == "nim");

8. clear()


9. update()

mahasiswa1.update("nim",(String value) => value = 'C030316022');

9. Map.from()

var mahasiswa3 = Map.from(mahasiswa1);

1. addAll()

void main(){ var mahasiswa1 = {
"nim" : "C030316024",
"nama" : "Muhammad Sulthan Al Ihsan"
var mahasiswa2 = {};

M. Sulthan Al Ihsan

IDN Academy 2019

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store