onReadById method
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
Implementation
// Reads
//////////////////////////////////////////////////////////////////////////
@override
Future<HDict?> onReadById(HRef id) {
return readByIds([id], checked: false).then((HGrid res) {
if (res.isEmpty) return null;
HDict rec = res.row(0);
if (rec.missing("id")) return null;
return rec;
});
}