isSet method
Check if a field is currently set or unset, using the fieldId
.
Implementation
bool isSet(int fieldID) {
switch (fieldID) {
case ACCOUNT:
return isSetAccount();
case NEW_ENCODED_PWD:
return isSetNew_encoded_pwd();
case OLD_ENCODED_PWD:
return isSetOld_encoded_pwd();
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}