getProperty function Null safety

dynamic getProperty(
  1. Object o,
  2. Object name
)

Implementation

dynamic getProperty(Object o, Object name) =>
    JS('Object|Null', '#[#]', o, name);