getGettableProperties static method

List<String> getGettableProperties(
  1. dynamic obj
)

Implementation

static List<String> getGettableProperties(dynamic obj) {
  if (obj is Invokable) {
    return Invokable.getGettableProperties(obj);
  } else {
    return InvokableController.getters(obj).keys.toList();
  }
}