initProps method

void initProps()

This method initializes the _accessors map with the object's properties and their corresponding getter and setter functions. The getTweenableAccessors method should be implemented in the target object class and should return a map of property names and their corresponding getter and setter functions. If no such map is returned, the _accessors map remains null.

Implementation

void initProps() {
  _accessors = getTweenableAccessors();
}