getRowByKey method
Implementation
List<TABLE_DETAIL> getRowByKey(Map find, {List<String>? key}) {
key ??= this.key;
return where((x) {
for (var k in key!) {
if (x.memberMap[k] == null) {
return false;
} else if (x.memberMap[k] is! Data) {
return false;
} else if ((x.memberMap[k] as Data).value != find[k]) {
return false;
}
}
return true;
}).map<TABLE_DETAIL>((t) => t).toList();
}