supported property Null safety

bool supported

Checks if this type is supported on the current platform.

Implementation

static bool get supported =>
    JS('bool', '!!(window.crypto && window.crypto.getRandomValues)');