suspendFor method Null safety

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

Implementation

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