getProperty<T> function Null safety

T getProperty<T>(
  1. Object o,
  2. Object name
)

Implementation

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