whenDefined method Null safety

Future whenDefined (
  1. String name
)

Implementation

Future whenDefined(String name) =>
    promiseToFuture(JS("", "#.whenDefined(#)", this, name));