operator [] method
to be able to get the data like from a map
Implementation
dynamic operator [](String key) {
String result = "";
try {
return data[key];
} catch (e) {}
return result;
}
to be able to get the data like from a map
dynamic operator [](String key) {
String result = "";
try {
return data[key];
} catch (e) {}
return result;
}