PlatformChecker constructor

PlatformChecker({
  1. Platform platform = instance,
  2. bool? isWeb,
})

Implementation

PlatformChecker({
  this.platform = instance,
  bool? isWeb,
}) : isWeb = isWeb ?? _isWebWithWasmSupport();