updateAttribute<T> method
Implementation
void updateAttribute<T>(DraftModeFormAttribute<T> attribute, T? value) {
final key = identityHashCode(attribute);
if (!_drafts.containsKey(key)) {
registerAttribute(attribute);
}
_drafts[key] = attribute.mapValue(value);
}