suspendFor method Null safety

  1. @JSName('suspend')
Future suspendFor(
  1. num suspendTime
)

Implementation

@JSName('suspend')
Future suspendFor(num suspendTime) =>
    promiseToFuture(JS("", "#.suspend(#)", this, suspendTime));