ifExist function

bool ifExist(
  1. DartObject obj,
  2. String name
)

Check if the propery exist from dartObject

Implementation

bool ifExist(DartObject obj, String name) => obj.getField(name) != null;