register<T> method
T
register<T>(
- T prop
Automatically register a Prop so it can notify the UI on change.
Implementation
T register<T>(T prop) {
if (prop is Prop) {
_registeredProps.add(prop);
}
return prop;
}