The field to generate the property for.
The function to call when the function is dirty.
The access modifier for the getter function.
The name of the property functions. Defaults to the field name minus the first character. Meant for fields that start with underscores.
Generates a getter for a field that can be marked as dirty. Calls updateFunc if is dirty.