getSettableProperties static method

List<String> getSettableProperties(
  1. Invokable obj
)

Implementation

static List<String> getSettableProperties(Invokable obj) {
  try {
    List<String> rtn = obj.setters().keys.toList();
    if (obj is HasController) {
      rtn.addAll((obj as HasController).controller.getBaseSetters().keys);
    }
    return rtn;
  } catch (e) {
    //we ignore this, there is no point at this stage to throw an error
  }
  return [];
}