getModelData method
Returns Model Data With Options
Implementation
Map<String, dynamic> getModelData({bool applyHiddenFields = false}) {
if (applyHiddenFields) {
Map<String, dynamic> tmp = getData();
for (String key in hiddenFields) {
tmp.remove(key);
}
return tmp;
}
return getData();
}