M method
Implementation
MfuncTuple M(Uint8List candidbytes, int start_i) {
Record record = Record();
CandidBytes_i next_i = start_i;
for (int hash_key in this.keys) { // is with the sort on the keys property
CandidType ctype = this[hash_key]!;
MfuncTuple ctype_m_func_tuple = ctype.M(candidbytes, next_i);
record[hash_key]= ctype_m_func_tuple.item1;
next_i = ctype_m_func_tuple.item2;
}
return MfuncTuple(record, next_i);
}