store method Null safety

Future store (
  1. Credential credential
)

Implementation

Future store(Credential credential) => promiseToFuture(
    JS("creates:Credential;", "#.store(#)", this, credential));