normalizeID method
Implementation
Object? normalizeID(Object? id, {O? obj}) {
if (id == null) return null;
var idType = this.idType(obj);
if (idType == int) {
return TypeParser.parseInt(id);
} else if (idType == String) {
return TypeParser.parseString(id);
} else {
return TypeParser.parseValueForType(idType, id);
}
}