toMap method
Implementation
Map toMap() {
Map map = Map();
if (id != null) map[JSON_ID] = id;
if (name != null) map[JSON_NAME] = name;
if (androidCode != null) map[JSON_ANDROID_CODE] = androidCode;
return map;
}
Map toMap() {
Map map = Map();
if (id != null) map[JSON_ID] = id;
if (name != null) map[JSON_NAME] = name;
if (androidCode != null) map[JSON_ANDROID_CODE] = androidCode;
return map;
}