getValueByKey abstract method
dynamic
getValueByKey(
- E key
Returns the stored value for key.
Used by the debug-mode consistency check in updateByKeySafe, cross-field validation, and UI display via getFormattedValueIfNotNullOtherwiseValue.
@override
dynamic getValueByKey(LoginField key) => switch (key) {
LoginField.email => email,
LoginField.password => password,
};
Implementation
dynamic getValueByKey(E key);